add print button around
parent
d97b8e70c1
commit
79a9480165
|
@ -3,6 +3,7 @@
|
|||
{% block details_table %}
|
||||
<p>
|
||||
<a href="{{ url_for('map.index', id=model.id) }}" title="Show on map"><span class="fa fa-pencil glyphicon glyphicon-map-marker"></span> Show on map</a>
|
||||
<a href="{{ url_for('faceshieldrequest.label', id=model.id) }}" title="Render package label"><span class="glyphicon glyphicon-print"></span> Render package label</a>
|
||||
</p>
|
||||
{{ super() }}
|
||||
|
||||
|
|
|
@ -3,6 +3,32 @@
|
|||
|
||||
{% block body %}
|
||||
{{ super() }}
|
||||
|
||||
{{ render_changelog(model) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block navlinks %}
|
||||
<ul class="nav nav-tabs">
|
||||
<li>
|
||||
<a href="{{ return_url }}">{{ _gettext('List') }}</a>
|
||||
</li>
|
||||
{%- if admin_view.can_create -%}
|
||||
<li>
|
||||
<a href="{{ get_url('.create_view', url=return_url) }}">{{ _gettext('Create') }}</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
<li class="active">
|
||||
<a href="javascript:void(0)">{{ _gettext('Edit') }}</a>
|
||||
</li>
|
||||
{%- if admin_view.can_view_details -%}
|
||||
<li>
|
||||
<a href="{{ get_url('.details_view', id=request.args.get('id'), url=return_url) }}">{{ _gettext('Details') }}</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
<li>
|
||||
<a href="{{ url_for('faceshieldrequest.label', id=model.id) }}" title="Render package label"><span class="glyphicon glyphicon-print"></span> Render package label</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url_for('map.index', id=model.id) }}" title="Show on map"><span class="glyphicon glyphicon-map-marker"></span> Show on map</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue