Commit 71788094 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1688416: Adding a back to views index button



For user editing a page, similar to what we have for group/site pages
rather than having a 2nd display page link

behatnotneeded

Change-Id: Iabc6dcc8d994cce34ce47a2eb283e271b05beef7
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 92d2ce38
......@@ -250,6 +250,7 @@ $string['editblockspagedescription'] = '<p>Drag and drop content blocks from the
$string['displayview'] = 'Display page';
$string['editthisview'] = 'Edit this page';
$string['expandcontract'] = 'Expand / Contract list of block types';
$string['returntoviews'] = 'Return to pages and collections';
$string['returntoinstitutionportfolios'] = 'Return to institution pages and collections';
$string['returntositeportfolios'] = 'Return to site pages and collections';
......
......@@ -44,9 +44,9 @@
<div id="view-wizard-controls" class="col-collapse-offset col-with-collapse">
{if !$issitetemplate}
<a class="btn btn-default" href="{$displaylink}">
{str tag=displayview section=view}
{if !$groupid && !$institution}
<a class="btn btn-default" href="{$WWWROOT}view/index.php">
{str tag=returntoviews section=view}
<span class="icon icon-arrow-circle-right right" role="presentation" aria-hidden="true"></span>
</a>
{/if}
......
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