Commit 5ed6dccf authored by Paul Brown's avatar Paul Brown

Merge pull request #980 from litnimax/master

Fix bug with details view tab.
parents 05d18308 58bb50f8
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
<li class="active"> <li class="active">
<a href="javascript:void(0)">{{ _gettext('Edit') }}</a> <a href="javascript:void(0)">{{ _gettext('Edit') }}</a>
</li> </li>
{%- if admin_view.can_view_details -%}
<li>
<a href="{{ get_url('.details_view', id=model.id, url=return_url) }}">{{ _gettext('View Record') }}</a>
</li>
{%- endif -%}
</ul> </ul>
{% endblock %} {% endblock %}
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
<li class="active"> <li class="active">
<a href="javascript:void(0)">{{ _gettext('Edit') }}</a> <a href="javascript:void(0)">{{ _gettext('Edit') }}</a>
</li> </li>
{%- if admin_view.can_view_details -%}
<li>
<a href="{{ get_url('.details_view', id=model.id, url=return_url) }}">{{ _gettext('View Record') }}</a>
</li>
{%- endif -%}
</ul> </ul>
{% endblock %} {% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment