damned-lies r1446 - in trunk: . templates/teams



Author: claudep
Date: Sat Feb 14 08:33:25 2009
New Revision: 1446
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1446&view=rev

Log:
2009-02-14  Claude Paroz  <claude 2xlibre net>

	* templates/teams/team_detail.html: Also fix RTL display.
	Really fixes #571349.

Modified:
   trunk/ChangeLog
   trunk/templates/teams/team_detail.html

Modified: trunk/templates/teams/team_detail.html
==============================================================================
--- trunk/templates/teams/team_detail.html	(original)
+++ trunk/templates/teams/team_detail.html	Sat Feb 14 08:33:25 2009
@@ -32,9 +32,9 @@
     </td>
     <td style="width: 108px; text-align: center;"><div class="graph">
       <div class="translated" style="width:{{ stat.uitransperc }}px;"></div>
-      <div class="fuzzy" style="left:{{ stat.uitransperc }}px; width:{{ stat.uifuzzyperc }}px;"></div>
+      <div class="fuzzy" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ stat.uitransperc }}px; width:{{ stat.uifuzzyperc }}px;"></div>
       {% with stat.uitransperc|add:stat.uifuzzyperc as upos %}
-      <div class="untranslated" style="left:{{ upos }}px; width:{{ stat.uiuntransperc }}px;"></div>
+      <div class="untranslated" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ upos }}px; width:{{ stat.uiuntransperc }}px;"></div>
       {% endwith %}
       </div>
     </td>
@@ -45,9 +45,9 @@
       </td>
       <td style="width: 108px; text-align: center;"><div class="graph">
         <div class="translated" style="width:{{ stat.doctransperc }}px;"></div>
-        <div class="fuzzy" style="left:{{ stat.doctransperc }}px; width:{{ stat.docfuzzyperc }}px;"></div>
+        <div class="fuzzy" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ stat.doctransperc }}px; width:{{ stat.docfuzzyperc }}px;"></div>
         {% with stat.doctransperc|add:stat.docfuzzyperc as upos %}
-        <div class="untranslated" style="left:{{ upos }}px; width:{{ stat.docuntransperc }}px;"></div>
+        <div class="untranslated" style="{{ LANGUAGE_BIDI|yesno:"right,left" }}:{{ upos }}px; width:{{ stat.docuntransperc }}px;"></div>
         {% endwith %}
         </div>
       </td>



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