admin: Add a button to permit deleting strange submissions

This commit is contained in:
nemunaire 2024-02-09 17:56:05 +01:00
parent 0b04185933
commit 632eb62f1f
3 changed files with 24 additions and 1 deletions

View file

@ -33,6 +33,9 @@
<a ng-href="teams/{{ heal.id_team }}" ng-if="heal.id_team" class="text-warning">/{{ heal.path.split("/")[1] }}</a><a target="_blank" ng-href="submissions{{ heal.path }}" ng-if="heal.id_team">/{{ heal.path.split("/")[2] }}</a>
<a ng-href="submissions{{ heal.path }}" ng-if="!heal.id_team">{{ heal.path }}</a>
: {{ heal.error }}
<button type="button" class="btn btn-sm btn-link" ng-click="drop_submission(heal.path)">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</button>
</li>
</ul>
</div>