Commit d421ad80 authored by Michal Čihař's avatar Michal Čihař

Add links to widgets to all pages

parent 958f525a
......@@ -30,6 +30,7 @@
{% if perms.trans.commit_translation or perms.trans.update_translation %}
<li><a href="{% url 'weblate.trans.views.git_status_subproject' project=object.project.slug subproject=object.slug %}">{% trans "Git maintenance" %}</a></li>
{% endif %}
<li><a href="#promote">{% trans "Promote" %}</a></li>
</ul>
<div id="new-lang">
......@@ -44,6 +45,11 @@
{% include "last-changes.html" %}
</div>
<div id="promote">
{% url 'weblate.trans.api.widgets' project=object.project.slug as widgets_url %}
{% blocktrans %}Promote your translation project using <a href="{{ widgets_url }}">widgets</a>.{% endblocktrans %}
</div>
</div>
{% endblock %}
......
......@@ -44,6 +44,7 @@
{% if perms.trans.commit_translation or perms.trans.update_translation %}
<li><a href="{% url 'weblate.trans.views.git_status_translation' project=object.subproject.project.slug subproject=object.subproject.slug lang=object.language.code %}">{% trans "Git maintenance" %}</a></li>
{% endif %}
<li><a href="#promote">{% trans "Promote" %}</a></li>
</ul>
<div id="search">
......@@ -106,6 +107,11 @@
</div>
{% endif %}
<div id="promote">
{% url 'weblate.trans.api.widgets' project=object.subproject.project.slug as widgets_url %}
{% blocktrans %}Promote your translation project using <a href="{{ widgets_url }}">widgets</a>.{% endblocktrans %}
</div>
</div>
{% 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