damned-lies r1262 - in trunk: . templates/vertimus



Author: claudep
Date: Tue Dec 30 08:52:15 2008
New Revision: 1262
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1262&view=rev

Log:
2008-12-30  Claude Paroz  <claude 2xlibre net>

	* templates/vertimus/vertimus_detail.html: Move the download icon just
	before translation stats (it is not always a pot file). Move the notices
	after this block.

Modified:
   trunk/ChangeLog
   trunk/templates/vertimus/vertimus_detail.html

Modified: trunk/templates/vertimus/vertimus_detail.html
==============================================================================
--- trunk/templates/vertimus/vertimus_detail.html	(original)
+++ trunk/templates/vertimus/vertimus_detail.html	Tue Dec 30 08:52:15 2008
@@ -34,24 +34,11 @@
 {% endifnotequal %}
 </h3>
 
-<a href="{{ stats.po_url }}"><img src="{{ MEDIA_URL }}img/download.png" alt="Download POT file" /></a>
-{{ stats.pot_text }}
+<em>{{ stats.pot_text }}</em>
  
-{% if stats.information_set.all %}
-<h4>{% trans "Notices" %}</h4>
-<table>
-  {% for info in stats.information_set.all %}
-  <tr>
-    <td valign="top"><img src="{{ info.get_icon }}" alt="{{ info.type }}" /></td>
-    <td>{{ info.get_description|safe }}</td>
-  </tr>
-  {% endfor %}
-</table>
-{% endif %}
-
 <table>
   <tr>
-    <td>{% trans "Translated:" %}</td>
+    <td><a href="{{ stats.po_url }}"><img src="{{ MEDIA_URL }}img/download.png" alt="Download PO file" /></a> {% trans "Translated:" %}</td>
     <td>{{ stats.get_translationstat|safe }}</td>
     <td><div class="graph">
         <div class="translated" style="width: {{ stats.tr_percentage }}px;"></div>
@@ -62,6 +49,18 @@
   </tr>
 </table>
 
+{% if stats.information_set.all %}
+<h4>{% trans "Notices" %}</h4>
+<table>
+  {% for info in stats.information_set.all %}
+  <tr>
+    <td valign="top"><img src="{{ info.get_icon }}" alt="{{ info.type }}" /></td>
+    <td>{{ info.get_description|safe }}</td>
+  </tr>
+  {% endfor %}
+</table>
+{% endif %}
+
 {% if stats.fig_count and stats.language %}
 <p><a href="{% url stats.views.docimages module_name=module.name,potbase=stats.domain.name,branch_name=branch.name,langcode=stats.language.locale %}">
     <img src="{{ MEDIA_URL }}img/figure.png" alt="{% trans "Display document figures" %}"></a>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]