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 ac4e900703
commit 1bb1345ac9

View file

@ -42,9 +42,9 @@
{% for object in web_help_category.list %}
<li>
<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 %}
<a href="{% url "admin:help_helpentry_changelist" %}">-edit-</a>
<a href="{{ object.web_get_admin_url }}">-edit-</a>
{% endif %}
{% endif %}
</li>