index.tpl 767 Bytes
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
{include file="header.tpl"}
2
<div class="btn-top-right btn-group btn-group-top">
3
    <a class="btn btn-default settings" href="{$WWWROOT}artefact/blog/new/index.php{if $institutionname}?institution={$institutionname}{/if}{if $group}?group={$group}{/if}">
4
        <span class="icon icon-lg icon-plus left"></span>
5
6
        {str section="artefact.blog" tag="addblog"}
    </a>
Naomi Guyer's avatar
Naomi Guyer committed
7
</div>
8
9
10
{if !$blogs->data}
<p class="no-results">{str tag=youhavenoblogs section=artefact.blog}</p>
{else}
11
<div class="rel view-container">
Pat Kira's avatar
Pat Kira committed
12
    <div class="panel-items js-masonry" data-masonry-options='{ "itemSelector": ".panel" }'>
13
14
15
        <div id="bloglist">
            {$blogs->tablerows|safe}
        </div>
Naomi Guyer's avatar
Naomi Guyer committed
16
17
18
    </div>
    {$blogs->pagination|safe}
</div>
19
{/if}
Naomi Guyer's avatar
Naomi Guyer committed
20
{include file="footer.tpl"}