Show More
@@ -391,12 +391,14 b'' | |||
|
391 | 391 | ## <div class="grid_edit"> |
|
392 | 392 | ## <a href="#Edit" title="${_('Edit')}">${_('Edit')}</a> |
|
393 | 393 | ## </div> |
|
394 | <div class="grid_delete"> | |
|
394 | % if h.HasRepoPermissionAny('repository.admin')(c.repo_name): | |
|
395 | <div class="grid_delete"> | |
|
395 | 396 | ${h.secure_form(h.route_path('repo_artifacts_delete', repo_name=repo_name, uid=file_store_id), request=request)} |
|
396 | 397 | ${h.submit('remove_',_('Delete'),id="remove_artifact_%s" % file_store_id, class_="btn btn-link btn-danger", |
|
397 | 398 | onclick="return confirm('"+_('Confirm to delete this artifact: %s') % file_uid+"');")} |
|
398 | 399 | ${h.end_form()} |
|
399 | 400 | </div> |
|
401 | % endif | |
|
400 | 402 | </%def> |
|
401 | 403 | |
|
402 | 404 | <%def name="markup_form(form_id, form_text='', help_text=None)"> |
General Comments 0
You need to be logged in to leave comments.
Login now