Commit 4a55922a authored by Michal Čihař's avatar Michal Čihař

Add status widgets to translation, subproject and project pages

parent 25526127
......@@ -10,6 +10,10 @@
<h2>{% trans "Project Information" %}</h2>
<a class="menu-float" href="{{ object.get_widgets_url }}">
<img src="{% url 'widget-image' project=object.slug widget='status' color='badge' %}" />
</a>
<table class="info">
{% include "project_info.html" %}
</table>
......
......@@ -12,6 +12,10 @@
<h2>{% trans "Project Information" %}</h2>
<a class="menu-float" href="{{ object.get_widgets_url }}">
<img src="{% url 'widget-image' project=object.project.slug widget='status' color='badge' %}" />
</a>
<table class="info">
{% include "subproject_info.html" %}
</table>
......
......@@ -15,6 +15,10 @@
<h2>{% trans "Project Information" %}</h2>
<a class="menu-float" href="{{ object.get_widgets_url }}">
<img src="{% url 'widget-image-lang' project=object.subproject.project.slug widget='status' color='badge' lang=object.language.code %}" />
</a>
<table class="info">
{% include "translation_info.html" %}
</table>
......
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