mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-08 06:59:39 +01:00
removed more deprecated functionality
This commit is contained in:
parent
9444d1592d
commit
5388ece5ed
@ -3,9 +3,9 @@
|
|||||||
<h2>Queries</h2>
|
<h2>Queries</h2>
|
||||||
<p>
|
<p>
|
||||||
{{ sql_queries|length }} Quer{{ sql_queries|pluralize:"y,ies" }}
|
{{ sql_queries|length }} Quer{{ sql_queries|pluralize:"y,ies" }}
|
||||||
{% ifnotequal sql_queries|length 0 %}
|
{% if sql_queries|length != 0 %}
|
||||||
(<span style="cursor: pointer;" onclick="var s=document.getElementById('debugQueryTable').style;s.display=s.display=='none'?'':'none';this.innerHTML=this.innerHTML=='Show'?'Hide':'Show';">Show</span>)
|
(<span style="cursor: pointer;" onclick="var s=document.getElementById('debugQueryTable').style;s.display=s.display=='none'?'':'none';this.innerHTML=this.innerHTML=='Show'?'Hide':'Show';">Show</span>)
|
||||||
{% endifnotequal %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
<table id="debugQueryTable" style="display: none;">
|
<table id="debugQueryTable" style="display: none;">
|
||||||
<col width="1"></col>
|
<col width="1"></col>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
{% for q in user_saved_queries_ %}
|
{% for q in user_saved_queries_ %}
|
||||||
<a class="dropdown-item" href="{% url 'helpdesk:list' %}?saved_query={{ q.id }}">{{ q.title }}
|
<a class="dropdown-item" href="{% url 'helpdesk:list' %}?saved_query={{ q.id }}">{{ q.title }}
|
||||||
{% if q.shared %}
|
{% if q.shared %}
|
||||||
(Shared{% ifnotequal user q.user %} by {{ q.user.get_username }}{% endifnotequal %})
|
(Shared{% if user != q.user %} by {{ q.user.get_username }}{% endif %})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
{% for q in user_saved_queries_ %}
|
{% for q in user_saved_queries_ %}
|
||||||
<a class="dropdown-item small" href="{% url 'helpdesk:list' %}?saved_query={{ q.id }}">{{ q.title }}
|
<a class="dropdown-item small" href="{% url 'helpdesk:list' %}?saved_query={{ q.id }}">{{ q.title }}
|
||||||
{% if q.shared %}
|
{% if q.shared %}
|
||||||
(Shared{% ifnotequal user q.user %} by {{ q.user.get_username }}{% endifnotequal %})
|
(Shared{% if user != q.user %} by {{ q.user.get_username }}{% endif %})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user