Commit 769d117f authored by Robert Lyon's avatar Robert Lyon
Browse files

Adding ids to the edit access and secret url edit buttons



Bug #1427845

the ids are in the form of:
 editaccess_{id of view}
 secreturl_{id of view}

eg for view id=10 it will be editaccess_10 and secreturl_10
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>

Change-Id: I9b86a39db9a56d295d659203a9c8c1b4b4ba5e5e
parent a596b554
......@@ -31,8 +31,8 @@
{if $item.template}<div class="detail">{str tag=thisviewmaybecopied section=view}</div>{/if}
</td>
<td class="al-edit">
<a href="{$WWWROOT}view/access.php?id={$item.viewid}" title="{str tag=editaccess section=view}"><img src="{theme_url filename='images/btn_access.png'}" alt="{str tag=editaccess}"></a>
<a id="editaccess_{$item.viewid}" href="{$WWWROOT}view/access.php?id={$item.viewid}" title="{str tag=editaccess section=view}"><img src="{theme_url filename='images/btn_access.png'}" alt="{str tag=editaccess}"></a>
</td>
<td class="secreturls">
{$item.secreturls} <a title="{str tag=editsecreturlaccess section=view}" href="{$WWWROOT}view/urls.php?id={$item.viewid}"><img src="{theme_url filename='images/btn_secreturl.png'}" alt="{str tag=edit}"></a>
{$item.secreturls} <a id="secreturl_{$item.viewid}" title="{str tag=editsecreturlaccess section=view}" href="{$WWWROOT}view/urls.php?id={$item.viewid}"><img src="{theme_url filename='images/btn_secreturl.png'}" 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