Commit 58ef85d5 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Show no tags message in tag sideblock when users have no tags

parent 5b654041
<h3>{str tag="mytags"}</h3>
<div class="sidebar-content mytags">
{if $data.tags}
<h3>{str tag="mytags"}</h3>
<div class="sidebar-content mytags">
{foreach from=$data.tags item=tag}
<a class="tag" style="font-size: {$tag->size}em;" href="{$WWWROOT}tags.php?tag={$tag->tag|urlencode}" title="{str tag=numitems arg1=$tag->count}">{$tag->tag|escape}</a>
<a class="tag" style="font-size: {$tag->size}em;" href="{$WWWROOT}tags.php?tag={$tag->tag|urlencode}" title="{str tag=numitems arg1=$tag->count}">{$tag->tag|escape}</a>
{/foreach}
</div>
{/if}
\ No newline at end of file
{else}
{str tag=youhavenottaggedanythingyet}
{/if}
</div>
\ No newline at end of file
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