[damned-lies] Small adjustments to vertimus detail template



commit d1f508eb7f19a45b56ba08d39e96a5f88b6c7151
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat May 30 10:50:52 2009 +0200

    Small adjustments to vertimus detail template
    
    blocktrans should not contain any line break unless they appear in
    the translatable string in the po file. Changed 'grandparent' wording
    to 'archived series'.
---
 media/css/main.css                      |    4 ++++
 templates/vertimus/vertimus_detail.html |   12 ++++--------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media/css/main.css b/media/css/main.css
index 9feb88c..72be41b 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -59,6 +59,10 @@ h2 {
   border-bottom: 1px solid gray;
 }
 
+h2.plain {
+  border-bottom: 0px
+}
+
 div.graph {
   height: 14px;
   width: 100px;
diff --git a/templates/vertimus/vertimus_detail.html b/templates/vertimus/vertimus_detail.html
index 78060bd..a5f719a 100644
--- a/templates/vertimus/vertimus_detail.html
+++ b/templates/vertimus/vertimus_detail.html
@@ -28,12 +28,12 @@
 
 <p>{{ domain.get_description }}</p>
 
-<h1>
+<h2 class="plain">
 {% trans "State:" %} {{ state.description }}
 {% ifnotequal state.name 'None' %}
 ({{ state.updated|date:_("Y-m-d g:i a O") }})
 {% endifnotequal %}
-</h1>
+</h2>
 
 {% if module.comment %}
   <p>{{ module.comment|safe }}</p>
@@ -89,9 +89,7 @@
     {% ifequal level 0 %}
       {% trans "Actions" %}
     {% else %}
-      {% blocktrans with level|ordinal|safe as human_level %}
-      Archived Actions ({{ human_level }} grandparent)
-      {% endblocktrans %}
+      {% blocktrans with level|ordinal|safe as human_level %}Archived Actions ({{ human_level }} archived series){% endblocktrans %}
       <a href="{% url vertimus-names-view module.name,branch.name,domain.name,language.locale %}">
         {% trans "(Return to current)" %}
       </a>
@@ -165,9 +163,7 @@
     </table>
   </form>
   {% else %}
-  {% blocktrans with language.team.get_description as team_name %}
-  You need to be authenticated and to be member of the {{ team_name }} team.
-  {% endblocktrans %}
+  {% blocktrans with language.team.get_description as team_name %}You need to be authenticated and to be member of the {{ team_name }} team.{% endblocktrans %}
   {% endif %}
 {% endifequal %}
 



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