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

Display tags on folders when displayed in view


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 2f71cfb4
......@@ -1144,6 +1144,8 @@ class ArtefactTypeFolder extends ArtefactTypeFileBase {
$smarty = smarty_core();
$smarty->assign('title', $this->get('title'));
$smarty->assign('description', $this->get('description'));
$smarty->assign('tags', $this->get('tags'));
$smarty->assign('owner', $this->get('owner'));
$smarty->assign('viewid', isset($options['viewid']) ? $options['viewid'] : 0);
$smarty->assign('simpledisplay', isset($options['simpledisplay']) ? $options['simpledisplay'] : false);
......
<div>
{if !$simpledisplay}<h3>{$title|escape}</h3>{/if}
<div>{$description|escape}</div>
{if $tags}<div class="tags">{str tag=tags}: {list_tags owner=$owner tags=$tags}</div>{/if}
<div>
{if (isset($children))}
<table>
......
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