blog.tpl 1.25 KB
Newer Older
1
2
3
4
<div class="panel-body">
    {if !$options.hidetitle}
    <h2>{$artefacttitle|safe}</h2>
    {/if}
Naomi Guyer's avatar
Naomi Guyer committed
5

6
    <div id="blogdescription" class="blogdescription ptl">{$description|clean_html|safe}
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
    {if $tags}
    <div class="tags pbl">
        <strong>{str tag=tags}:</strong> {list_tags owner=$owner tags=$tags}
    </div>
        {/if}
    </div>

    <div id="postlist{if $blockid}_{$blockid}{/if}" class="postlist fullwidth">
      {$posts.tablerows|safe}
    </div>
    {if $posts.pagination}
    <div id="blogpost_page_container{if $blockid}_{$blockid}{/if}" class="hidden center">{$posts.pagination|safe}</div>
    {/if}
    {if $license}
      <div class="bloglicense">
        {$license|safe}
      </div>
    {/if}

    {if $posts.pagination_js}
    <script>
    addLoadEvent(function() {literal}{{/literal}
        {$posts.pagination_js|safe}
        removeElementClass('blogpost_page_container{if $blockid}_{$blockid}{/if}', 'hidden');
    {literal}}{/literal});
    </script>
    {/if}

      {if ($editing)}
        <a class="panel-footer" href="{$WWWROOT}artefact/blog/post.php?blog={$blogid}" target="_blank">
            <span class="fa fa-plus text-success prs"></span> 
            {str tag='shortcutnewentry' section='artefact.blog'}
        </a>
    {/if}
Naomi Guyer's avatar
Naomi Guyer committed
41
</div>
42