Skip to content

Commit

Permalink
[frontend/tasks] fix edit link to use taskset id
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonygego committed Dec 18, 2023
1 parent f3eed3d commit 1095603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inginious/frontend/templates/task.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h3> {{ _("Administration") }}</h3>
<i class="fa fa-files-o fa-fw"></i>&nbsp; {{ _("View submissions") }}
</a>
{% if user_manager.has_admin_rights_on_course(course) %}
<a class="list-group-item list-group-item-action list-group-item-info" href="{{ get_homepath() }}/taskset/{{course.get_id()}}/edit/{{task.get_id()}}">
<a class="list-group-item list-group-item-action list-group-item-info" href="{{ get_homepath() }}/taskset/{{course.get_taskset().get_id()}}/edit/{{task.get_id()}}">
<i class="fa fa-edit fa-fw"></i>&nbsp;{{ _("Edit task") }}
</a>
<a href="#" class="list-group-item list-group-item-action list-group-item-info" data-toggle="modal" data-target="#modal-debug">
Expand Down

0 comments on commit 1095603

Please sign in to comment.