Commit 808ad745 authored by Michal Čihař's avatar Michal Čihař

Move dictionary management link to panel title

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b99c01fd
...@@ -326,7 +326,12 @@ ...@@ -326,7 +326,12 @@
{% endwith %} {% endwith %}
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"><h4 class="panel-title">{% trans "Glossary" %}</h4></div> <div class="panel-heading">
<h4 class="panel-title">
<a class="pull-right flip" title="{% trans "Manage glossary" %}" href="{% url 'show_dictionary' project=unit.translation.subproject.project.slug lang=unit.translation.language.code %}"><i class="fa fa-pencil-square-o"></i></a>
{% trans "Glossary" %}
</h4>
</div>
<div class="panel-body"> <div class="panel-body">
{% if glossary %} {% if glossary %}
<table class="table table-condensed table-striped"> <table class="table table-condensed table-striped">
...@@ -355,9 +360,6 @@ ...@@ -355,9 +360,6 @@
<p>{% trans "No related strings were found in the glossary." %}</p> <p>{% trans "No related strings were found in the glossary." %}</p>
{% endif %} {% endif %}
</div> </div>
<div class="panel-footer">
<a href="{% url 'show_dictionary' project=unit.translation.subproject.project.slug lang=unit.translation.language.code %}" class="btn btn-default">{% trans "Manage glossary" %}</a>
</div>
</div> </div>
<div class="panel panel-primary"> <div class="panel panel-primary">
......
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