Commit 8ba217fe authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Show tags on view display


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent ce458f04
......@@ -58,6 +58,9 @@ body:last-child:not(:root:root) .newblockhere {
/* VIEWS */
#view .viewfooter {
padding: 1em;
}
#feedbacktable .details {
margin-top: 10px;
color: #9e9e9e;
......@@ -70,9 +73,10 @@ body:last-child:not(:root:root) .newblockhere {
margin: 0 0 .25em;
}
#view #publicfeedback {
padding: 1em;
border: 1px solid #eee;
#view #feedbacktable {
margin-top: 1em;
padding: 1em;
border: 1px solid #eee;
}
#viewmenu a {
margin: 0 .5em;
......
......@@ -12,18 +12,17 @@
</div>
</div>
</div>
<div>{$releaseform}</div>
<div id="publicfeedback">
<table id="feedbacktable" class="fullwidth table">
<thead>
<tr><th>{str tag="feedback" section="view"}</th></tr>
</thead>
</table>
</div>
<div class="viewfooter">
{if $tags}<div class="tags">{str tag=tags}: {list_tags owner=$owner tags=$tags}</div>{/if}
<div>{$releaseform}</div>
<table id="feedbacktable" class="fullwidth table">
<thead><tr><th>{str tag="feedback" section="view"}</th></tr></thead>
</table>
<div id="viewmenu">
{include file="view/viewmenu.tpl"}
</div>
{if $addfeedbackform}<div>{$addfeedbackform}</div>{/if}
{if $objectionform}<div>{$objectionform}</div>{/if}
</div>
</div>
{include file="microfooter.tpl"}
......@@ -145,6 +145,8 @@ $smarty->assign('viewid', $viewid);
$smarty->assign('viewtitle', $view->get('title'));
$owner = $view->get('owner');
$smarty->assign('owner', $owner);
$smarty->assign('tags', $view->get('tags'));
if ($owner) {
$smarty->assign('ownerlink', 'user/view.php?id=' . $owner);
}
......
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