-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW: Unlock all tasks via change list object tool link
for #102 Looks like: ![image](https://user-images.githubusercontent.com/71315/171357776-9fc55010-e86f-406a-85bf-eff055302ba5.png)
- Loading branch information
Jens Diemer
committed
Jun 1, 2022
1 parent
bfb48df
commit 34f78fe
Showing
3 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
huey_monitor/templates/admin/huey_monitor/taskmodel/change_list_object_tools.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% extends "admin/change_form_object_tools.html" %} | ||
{% load i18n admin_urls %} | ||
|
||
{% block object-tools-items %} | ||
{% if has_add_permission %} | ||
<li> | ||
<a href="{% url 'admin:flush_locks' %}"> | ||
{% trans 'Flush all task locks' %} | ||
</a> | ||
</li> | ||
{% endif %} | ||
{{ block.super }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters