mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(templates): add some comments
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
061e828f16
commit
c3d962a0d0
1 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,12 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if request.user.is_elevated() and not result.ClosedTS %}
|
{% if request.user.is_elevated() and not result.ClosedTS %}
|
||||||
|
{#
|
||||||
|
If RequestType is an orphan and it's not yet due, it's locked
|
||||||
|
to allow the maintainer time to react to such a request.
|
||||||
|
|
||||||
|
On request, orphans are locked for two weeks.
|
||||||
|
#}
|
||||||
{% if result.RequestType.ID == 2 and not due %}
|
{% if result.RequestType.ID == 2 and not due %}
|
||||||
{% set time_left = idle_time - time_delta %}
|
{% set time_left = idle_time - time_delta %}
|
||||||
{% if time_left > 48 * 3600 %}
|
{% if time_left > 48 * 3600 %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue