Commit 8b96762f authored by Robert Lyon's avatar Robert Lyon
Browse files

Fixing problem with "My pages" block not showing info (Bug #1468533)



Change-Id: I6776ba02f460b2b920ec51e289f9ff40b5558304
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 5470b39d
{if $VIEWS}
<div id="userviewstable" class="list-group">
{foreach from=$VIEWS item=item name=view}
<div class="list-group-item">
<h4 class="list-group-item-heading">
<a href="{$item.fullurl}">{$item.title}</a>
</h4>
{if $item.description}
<p class="list-group-item-text">
{$item.description|str_shorten_html:100:true|strip_tags|safe}
</p>
{/if}
{if $item.tags}
<div class="tags">
<span class="lead text-small">{str tag=tags}:</span>
{list_tags owner=$item.owner tags=$item.tags}
</div>
{/if}
</div>
{/foreach}
{if $myviews}
<div class="list-group">
<div id="myviewlist" class="list-group">
{$myviews.tablerows|safe}
</div>
{if $myviews.pagination}
<div id="myviews_page_container" class="hidden">{$myviews.pagination|safe}</div>
{/if}
{if $myviews.pagination_js}
<script type="application/javascript">
addLoadEvent(function() {literal}{{/literal}
{$myviews.pagination_js|safe}
removeElementClass('myviews_page_container', 'hidden');
{literal}}{/literal});
</script>
{/if}
</div>
{else}
<div class="panel-body">
......
Supports Markdown
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