#37 add external link to foodvendor
All checks were successful
/ ls (pull_request) Successful in 38s
/ ls (push) Successful in 37s
/ ls (release) Successful in 25s

This commit is contained in:
lubiana 2024-08-16 21:52:53 +02:00
parent 34171d6c2b
commit 56206acd8a
No known key found for this signature in database
6 changed files with 79 additions and 4 deletions

View file

@ -11,6 +11,10 @@
<th>Name</th>
<td>{{ food_vendor.name }}</td>
</tr>
<tr>
<th>Menu</th>
<td><a href="{{ food_vendor.menuLink }}" target="_blank">{{ food_vendor.menuLink }}</a></td>
</tr>
</tbody>
</table>

View file

@ -7,6 +7,14 @@
{{ include('order_item/_form.html.twig') }}
<hr />
{% if food_order.foodVendor.menuLink != '' %}
<a href="{{ food_order.foodVendor.menuLink }}" target="_blank">
External link to Menu
</a>
{% endif %}
<div>
<b>click a button to select a given menuitem</b>
</div>