Commit 559905de authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1688416: Adding a back to views index button"

parents 7d056ad1 71788094
......@@ -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}
......
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