Skip to content

Commit

Permalink
Remove adventure works
Browse files Browse the repository at this point in the history
  • Loading branch information
Annelein committed Apr 22, 2024
1 parent 894936c commit e266de3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/htmx-adventure-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@
<div id="actions"
class="flex items-center px-6 py-4 bg-gray-200 shadow-lg">
{% if is_super_teacher %}
<i class="fa fa-trash p-2 bg-red-600 mr-4 rounded-full cursor-pointer" id="{{adventure.id}}" onclick=""></i>
<i class="fa fa-trash p-2 bg-red-500 mr-4 rounded-full cursor-pointer" id="{{adventure.id}}"
hx-confirm="{{_('delete_adventure_prompt')}}"
hx-trigger="click"
hx-delete="/for-teachers/customize-adventure/{{adventure.id}}"
hx-swap="none"></i>
{% endif %}
{% if is_program %}
<button class="green-btn" onclick="window.open (hedyApp.viewProgramLink('{{adventure.id}}'))">{{_('view_program')}}</button>
Expand Down

0 comments on commit e266de3

Please sign in to comment.