[Scummvm-git-logs] scummvm-web master -> 82e9a14567d49ddb8ea951656dd689e597bb1a29
Mataniko
mataniko at gmail.com
Tue Aug 21 03:53:31 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .
Summary:
82e9a14567 WEB: Evaluate variables in list items names and extra info
Commit: 82e9a14567d49ddb8ea951656dd689e597bb1a29
https://github.com/scummvm/scummvm-web/commit/82e9a14567d49ddb8ea951656dd689e597bb1a29
Author: Matan Bareket (mataniko at gmail.com)
Date: 2018-08-20T21:53:13-04:00
Commit Message:
WEB: Evaluate variables in list items names and extra info
This addresses issue #48, which should allow better translations
Changed paths:
templates/components/list_items.tpl
diff --git a/templates/components/list_items.tpl b/templates/components/list_items.tpl
index 0bd36a1..0eb276f 100644
--- a/templates/components/list_items.tpl
+++ b/templates/components/list_items.tpl
@@ -5,7 +5,7 @@
{assign var='data' value=$item->getExtraInfo()}
<li class="file">
<span class="sprite-{$type}-{$item->getCategoryIcon()} sprite"></span>
- <a href="{eval var=$item->getURL()}">{$item->getName()}</a>
+ <a href="{eval var=$item->getURL()}">{eval var=$item->getName()}</a>
{strip}
<span class="download-extras">
{if is_array($data)}
@@ -22,9 +22,9 @@
{if $item->getType() == 'daily'}
<span class="daily_provider">
{if is_array($data)}
- {$data.info}
+ {eval var=$data.info}
{else}
- {$data}
+ {eval var=$data}
{/if}
</span>
{/if}
More information about the Scummvm-git-logs
mailing list