damned-lies r701 - in trunk: . templates



Author: claudep
Date: Sat Jan 12 22:56:16 2008
New Revision: 701
URL: http://svn.gnome.org/viewvc/damned-lies?rev=701&view=rev

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

	* templates/show-stats.tmpl: Compute more precisely the link to figure
	status, to prevent some problems with ending slash.

Modified:
   trunk/ChangeLog
   trunk/templates/show-stats.tmpl

Modified: trunk/templates/show-stats.tmpl
==============================================================================
--- trunk/templates/show-stats.tmpl	(original)
+++ trunk/templates/show-stats.tmpl	Sat Jan 12 22:56:16 2008
@@ -49,7 +49,7 @@
   #if $lstat.has_key('supportedness')
   <td>${lstat.supportedness}%&nbsp;($lstat.translated/$lstat.fuzzy/$lstat.untranslated)</td>
   #if $domain.has_key('fig_count') and $domain.fig_count>0
-  <td><a href="$module.id/$domain.potbase/$branch/$lstat.code/images"><img src="$webroot/data/figure.png" alt="$_("Display document figures")"></a></td>
+  <td><a href="$webroot/module/$module.id/$domain.potbase/$branch/$lstat.code/images"><img src="$webroot/data/figure.png" alt="$_("Display document figures")"></a></td>
   #end if
   <td style="width: 108px; text-align: center;"><div class="graph">
       <div class="translated" style="width: ${lstat.percentages.translated}px;"></div>



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