[Scummvm-cvs-logs] SF.net SVN: scummvm:[40832] web/trunk/templates/documentation_md5sums.tpl

fredrik_w at users.sourceforge.net fredrik_w at users.sourceforge.net
Sat May 23 22:58:50 CEST 2009


Revision: 40832
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40832&view=rev
Author:   fredrik_w
Date:     2009-05-23 20:58:50 +0000 (Sat, 23 May 2009)

Log Message:
-----------
Add a hack for "All" as we don't have any such flag the alternate text shows, which makes it look "All All". Don't create an image element for "All" to avoid this.

Modified Paths:
--------------
    web/trunk/templates/documentation_md5sums.tpl

Modified: web/trunk/templates/documentation_md5sums.tpl
===================================================================
--- web/trunk/templates/documentation_md5sums.tpl	2009-05-23 20:54:42 UTC (rev 40831)
+++ web/trunk/templates/documentation_md5sums.tpl	2009-05-23 20:58:50 UTC (rev 40832)
@@ -49,7 +49,10 @@
 						</td>
 						<td>{$data.platform}</td>
 						<td>
-							<img src="images/fl-{$data.language}.png" alt="{$data.language}">
+							{* Hack for "All" as there is no such image. *}
+							{if $data.language != 'All'}
+								<img src="images/fl-{$data.language}.png" alt="{$data.language}">
+							{/if}
 							{$data.language}
 						</td>
 						<td>{$data.source}</td>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list