Commit 1ed98eaa authored by Robert Lyon's avatar Robert Lyon
Browse files

Adjusting the view access list edit/secret url buttons



Bug 1448807

Giving them the a title which contains the page/collection title to
make each one unique bor behat testing

Change-Id: Ib9af260ffc192088bc30e394264042c3bc9c9cba
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 7adf016d
......@@ -18,6 +18,7 @@ $string['editcontent'] = 'Edit content';
$string['editcontentandlayout'] = 'Edit content and layout';
$string['editlayout'] = 'Edit layout';
$string['editaccess'] = 'Edit access';
$string['editaccessfor'] = 'Edit access (ID %s)';
$string['next'] = 'Next';
$string['back'] = 'Back';
$string['title'] = 'Page title';
......@@ -105,6 +106,7 @@ $string['everyoneingroup'] = 'Everyone in group';
// secret url
$string['token'] = 'Secret URL';
$string['editsecreturlaccess'] = 'Edit secret URL access';
$string['editsecreturlaccessfor'] = 'Edit secret URL access (ID %s)';
$string['newsecreturl'] = 'New secret URL';
$string['reallydeletesecreturl'] = 'Are you sure you want to delete this URL?';
$string['secreturldeleted'] = 'Your secret URL was deleted.';
......
......@@ -31,8 +31,8 @@
{if $item.template}<div class="detail">{str tag=thisviewmaybecopied section=view}</div>{/if}
</td>
<td class="al-edit">
<a id="editaccess_{$item.viewid}" href="{$WWWROOT}view/access.php?id={$item.viewid}" title="{str tag=editaccess section=view}"><img src="{theme_image_url filename='btn_access'}" alt="{str tag=editaccess}"></a>
<a id="editaccess_{$item.viewid}" href="{$WWWROOT}view/access.php?id={$item.viewid}" title="{str tag=editaccessfor section=view arg1=$item.viewid}"><img src="{theme_image_url filename='btn_access'}" alt="{str tag=editaccess}"></a>
</td>
<td class="secreturls">
{$item.secreturls} <a id="secreturl_{$item.viewid}" title="{str tag=editsecreturlaccess section=view}" href="{$WWWROOT}view/urls.php?id={$item.viewid}"><img src="{theme_image_url filename='btn_secreturl'}" alt="{str tag=edit}"></a>
{$item.secreturls} <a id="secreturl_{$item.viewid}" title="{str tag=editsecreturlaccessfor section=view arg1=$item.viewid}" href="{$WWWROOT}view/urls.php?id={$item.viewid}"><img src="{theme_image_url filename='btn_secreturl'}" alt="{str tag=edit}"></a>
</td>
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