Commit 07b4ec01 authored by Michal Čihař's avatar Michal Čihař

Move percent behind progressbar, it makes more sense

parent 8ac6c0f6
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
{% with trans.get_translated_percent as percent and trans.get_fuzzy_percent as fuzzy %} {% with trans.get_translated_percent as percent and trans.get_fuzzy_percent as fuzzy %}
<tr> <tr>
<th><a href="{{ trans.get_absolute_url }}">{{ trans.subproject }} - {% trans trans.language.name %}</a></th> <th><a href="{{ trans.get_absolute_url }}">{{ trans.subproject }} - {% trans trans.language.name %}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td> <td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ percent }}%</td>
<td class="percent">{{ fuzzy }}%</td> <td class="percent">{{ fuzzy }}%</td>
<td>{% if percent < 100 %}<a href="{{ trans.get_translate_url }}?type=untranslated">{% trans "Translate" %}</a>{% endif %}</td> <td>{% if percent < 100 %}<a href="{{ trans.get_translate_url }}?type=untranslated">{% trans "Translate" %}</a>{% endif %}</td>
</tr> </tr>
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
{% with prj.get_translated_percent as percent %} {% with prj.get_translated_percent as percent %}
<tr> <tr>
<th><a href="{{ prj.get_absolute_url }}">{{ prj.name }}</a></th> <th><a href="{{ prj.get_absolute_url }}">{{ prj.name }}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td> <td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ percent }}%</td>
</tr> </tr>
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
{% with trans.get_translated_percent as percent and trans.get_fuzzy_percent as fuzzy %} {% with trans.get_translated_percent as percent and trans.get_fuzzy_percent as fuzzy %}
<tr> <tr>
<th><a href="{{ trans.get_absolute_url }}">{{ trans.subproject }}</a></th> <th><a href="{{ trans.get_absolute_url }}">{{ trans.subproject }}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td> <td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ percent }}%</td>
<td class="percent">{{ fuzzy }}%</td> <td class="percent">{{ fuzzy }}%</td>
<td>{% if percent < 100 %}<a href="{{ trans.get_translate_url }}?type=untranslated">{% trans "Translate" %}</a>{% endif %}</td> <td>{% if percent < 100 %}<a href="{{ trans.get_translate_url }}?type=untranslated">{% trans "Translate" %}</a>{% endif %}</td>
</tr> </tr>
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
{% if lang.has_translations %} {% if lang.has_translations %}
<tr> <tr>
<th><a href="{{ lang.get_absolute_url }}">{% trans lang.name %}</a></th> <th><a href="{{ lang.get_absolute_url }}">{% trans lang.name %}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td> <td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ percent }}%</td>
</tr> </tr>
{% endif %} {% endif %}
{% endwith %} {% endwith %}
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
{% with prj.get_translated_percent as percent %} {% with prj.get_translated_percent as percent %}
<tr> <tr>
<th><a href="{{ prj.get_absolute_url }}">{{ prj.name }}</a></th> <th><a href="{{ prj.get_absolute_url }}">{{ prj.name }}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td> <td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ percent }}%</td>
</tr> </tr>
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
{% with trans.get_translated_percent as percent and trans.get_fuzzy_percent as fuzzy %} {% with trans.get_translated_percent as percent and trans.get_fuzzy_percent as fuzzy %}
<tr> <tr>
<th><a href="{{ trans.get_absolute_url }}">{% trans trans.language.name %}</a></th> <th><a href="{{ trans.get_absolute_url }}">{% trans trans.language.name %}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td> <td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ percent }}%</td>
<td class="percent">{{ fuzzy }}%</td> <td class="percent">{{ fuzzy }}%</td>
<td>{% if percent < 100 %}<a href="{{ trans.get_translate_url }}?type=untranslated">{% trans "Translate" %}</a>{% endif %}</td> <td>{% if percent < 100 %}<a href="{{ trans.get_translate_url }}?type=untranslated">{% trans "Translate" %}</a>{% endif %}</td>
</tr> </tr>
......
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