diff options
| author | rubenwardy <rw@rubenwardy.com> | 2019-11-14 23:38:55 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2019-11-14 23:39:41 +0000 |
| commit | 015abe5a2507ad02273bc89953016c386aae4457 (patch) | |
| tree | e7512f119e82a844de81b36f3080a406fae2009c /app/templates | |
| parent | 719a652235126fd972e41e62f6f519aec5b75bdc (diff) | |
| download | cheatdb-1.18.0.tar.xz | |
Indicate stuck releases in todo list and allow admins to delete themv1.18.0
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/admin/list.html | 3 | ||||
| -rw-r--r-- | app/templates/todo/list.html | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/templates/admin/list.html b/app/templates/admin/list.html index 4e2d70f..ddfa30c 100644 --- a/app/templates/admin/list.html +++ b/app/templates/admin/list.html @@ -19,7 +19,8 @@ <form method="post" action="" class="card-body"> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> <select name="action"> - <option value="importmodlist" selected>Import forum topics</option> + <option value="delstuckreleases" selected>Delete stuck releases</option> + <option value="importmodlist">Import forum topics</option> <option value="recalcscores">Recalculate package scores</option> <option value="checkusers">Check forum users</option> <option value="importscreenshots">Import screenshots from VCS</option> diff --git a/app/templates/todo/list.html b/app/templates/todo/list.html index 3eb3251..2e756af 100644 --- a/app/templates/todo/list.html +++ b/app/templates/todo/list.html @@ -42,6 +42,9 @@ <ul class="list-group list-group-flush"> {% for r in releases %} <li class="list-group-item"> + {% if r.task_id %} + <span class="mr-2 badge badge-warning">Importing</span> + {% endif %} <a href="{{ r.getEditURL() }}">{{ r.title }}</a> on <a href="{{ r.package.getDetailsURL() }}"> |
