Commit a46495dc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

You are allowed to add posts to a blog in a submitted view, so show the add post button


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 6d013775
{include file="header.tpl"}
<div id="myblogs rel">
{if !$blog->get('locked')}
<div class="rbuttons">
{if !$blog->get('locked')}
<a class="btn btn-settings" href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
{/if}
<a class="btn btn-add" href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
</div>
{/if}
<p>{clean_html($blog->get('description'))|safe}</p>
{if $blog->get('tags')}<p class="tags">{str tag=tags}: {list_tags owner=$blog->get('owner') tags=$blog->get('tags')}</p>{/if}
......
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