Commit 39dc557d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Override profile/dashboard view descriptions on my views page - they can change with language prefs


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 5aaf127f
......@@ -36,7 +36,11 @@
{if $view.type != 'profile' && $view.type != 'dashboard'}
<h4><a href="{$WWWROOT}view/edit.php?id={$view.id}" id="editviewdetails">{str tag="edittitleanddescription" section="view"}</a></h4>
{/if}
{if $view.description}
{if $view.type == 'profile'}
<div class="videsc">{str tag=profiledescription}</div>
{elseif $view.type == 'dashboard'}
<div class="videsc">{str tag=dashboarddescription}</div>
{elseif $view.description}
<div class="videsc">{$view.description}</div>
{/if}
{if $view.tags}
......
Supports Markdown
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