edit link goes to admin url for entry

edit link goes to admin url for entry
This commit is contained in:
davewiththenicehat 2021-06-19 19:31:04 -04:00
parent c5043c3a22
commit 9b793fc845

View file

@ -42,9 +42,9 @@
{% for object in web_help_category.list %} {% for object in web_help_category.list %}
<li> <li>
<a href="{{ object.web_get_detail_url }}">{{ object|title }}</a> <a href="{{ object.web_get_detail_url }}">{{ object|title }}</a>
{% if object.web_get_update_url %} {% if object.web_get_admin_url %}
{% if user.is_staff %} {% if user.is_staff %}
<a href="{% url "admin:help_helpentry_changelist" %}">-edit-</a> <a href="{{ object.web_get_admin_url }}">-edit-</a>
{% endif %} {% endif %}
{% endif %} {% endif %}
</li> </li>