зеркало из https://github.com/mozilla/gecko-dev.git
fix bug 334629
This commit is contained in:
Родитель
602eac395c
Коммит
31e90a530e
|
@ -3,9 +3,7 @@
|
|||
<li><span>{$addon->Name}</span>
|
||||
<ul>
|
||||
<li><a href="{$config.webpath}/{$app}/{$addon->ID}/">Overview</a></li>
|
||||
{if $addon->PreviewID}
|
||||
<li><a href="{$config.webpath}/{$app}/{$addon->ID}/previews/">Previews & Screenshots</a></li>
|
||||
{/if}
|
||||
<li><a href="{$config.webpath}/{$app}/{$addon->ID}/previews/">Previews & Screenshots</a></li>
|
||||
<li><a href="{$config.webpath}/{$app}/{$addon->ID}/comments/">Comments</a></li>
|
||||
<li><a href="{$config.webpath}/addcomment.php?aid={$addon->ID}&app={$app}">Add a Comment</a></li>
|
||||
<li><a href="{$config.webpath}/{$app}/{$addon->ID}/history/">Version History</a></li>
|
||||
|
|
|
@ -9,8 +9,12 @@ by
|
|||
released on {$addon->VersionDateAdded|date_format}
|
||||
</p>
|
||||
|
||||
{section name=preview loop=$addon->Previews}
|
||||
<h4>{$addon->Previews[preview].caption}</h4>
|
||||
<img src="{$config.webpath}{$addon->Previews[preview].PreviewURI}" alt="{$addon->Previews[preview].caption}" width="{$addon->Previews[preview].width}" height="{$addon->Previews[preview].height}"><br>
|
||||
{if count($addon->Previews) > 0 }
|
||||
{section name=preview loop=$addon->Previews}
|
||||
<h4>{$addon->Previews[preview].caption}</h4>
|
||||
<img src="{$config.webpath}{$addon->Previews[preview].PreviewURI}" alt="{$addon->Previews[preview].caption}" width="{$addon->Previews[preview].width}" height="{$addon->Previews[preview].height}"><br>
|
||||
|
||||
{/section}
|
||||
{/section}
|
||||
{else}
|
||||
<p>There are no previews or screenshots for this add-on.</p>
|
||||
{/if}
|
||||
|
|
Загрузка…
Ссылка в новой задаче