Commit 137666bc authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1720260: no-skin image missing



This is due switching the default behaviour of a new Skin object to
being private rather than public.

But as we are just wanting to display the holder image we can get it
directly.

behatnotneeded

Change-Id: I26da51afb34a63bfc0cf097cf7819d4c503b9d74
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 9d28d7b7
......@@ -20,7 +20,11 @@
</h2>
<div>
<img class="thumbnail" src="{$WWWROOT}skin/thumb.php?id={$currentskin}" alt="{$currenttitle}">
{if $currentskin}
<img class="thumbnail" src="{$WWWROOT}skin/thumb.php?id={$currentskin}" alt="{$currenttitle}">
{else}
<img class="thumbnail" src="{$WWWROOT}skin/no-thumb.png" alt="{$currenttitle}">
{/if}
<ul class="metadata unstyled">
{if $currentskin}
<li class="title">
......
......@@ -20,7 +20,11 @@
</h2>
<div>
<img class="thumbnail" src="{$WWWROOT}skin/thumb.php?id={$currentskin}" alt="{$currenttitle}">
{if $currentskin}
<img class="thumbnail" src="{$WWWROOT}skin/thumb.php?id={$currentskin}" alt="{$currenttitle}">
{else}
<img class="thumbnail" src="{$WWWROOT}skin/no-thumb.png" alt="{$currenttitle}">
{/if}
<ul class="metadata unstyled">
{if $currentskin}
<li class="title">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment