% if c.list_groups == True:
<h3>${_("User List")}</h3>
% endif
-
+
<table id="${table_id}" class="list ${table_class}">
<thead>
<tr>
<tr id="row-user-${i}" title="${_('Edit User')}" class="${tr_class}">
<td><input value="${user.username}" onchange="selectShareRow(this);" name="name" type="checkbox" id="check-row-user-${i}" /></td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'edituser', id = user.rid)}');">${i}</td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'edituser', id = user.rid)}');">${user.rid}</td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'edituser', id = user.rid)}');">${user.username}</td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'edituser', id = user.rid)}');">${user.description}</td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'edituser', id = user.rid)}');">${quick_tasks(user.rid, "User", False)}</td>
+ <td onclick="clickableRow('${h.url_for('account_action', controller='account', action='user', subaction='edit', id=user.rid)}');">${i}</td>
+ <td onclick="clickableRow('${h.url_for('account_action', controller='account', action='user', subaction='edit', id=user.rid)}');">${user.rid}</td>
+ <td onclick="clickableRow('${h.url_for('account_action', controller='account', action='user', subaction='edit', id=user.rid)}');">${user.username}</td>
+ <td onclick="clickableRow('${h.url_for('account_action', controller='account', action='user', subaction='edit', id=user.rid)}');">${user.description}</td>
+ <td onclick="clickableRow('${h.url_for('account_action', controller='account', action='user', subaction='edit', id=user.rid)}');">${quick_tasks(user.rid, "User", False)}</td>
</tr>
<% i = i + 1 %>
<tr id="row-group-${i}" title="${_('Edit Group')}" class="${tr_class}">
<td><input value="${group.name}" onchange="selectShareRow(this);" name="name" type="checkbox" id="check-row-group-${i}" /></td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'editgroup', id = group.rid)}');">${i}</td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'editgroup', id = group.rid)}');">${group.rid}</td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'editgroup', id = group.rid)}');">${group.name}</td>
- <td onclick="clickableRow('${h.url_for(controller = 'account', action = 'editgroup', id = group.rid)}');">${group.description}</td>
+ <td onclick="clickableRow('${h.url_for(action = 'editgroup', id = group.rid)}');">${i}</td>
+ <td onclick="clickableRow('${h.url_for(action = 'editgroup', id = group.rid)}');">${group.rid}</td>
+ <td onclick="clickableRow('${h.url_for(action = 'editgroup', id = group.rid)}');">${group.name}</td>
+ <td onclick="clickableRow('${h.url_for(action = 'editgroup', id = group.rid)}');">${group.description}</td>
<td>${quick_tasks(group.rid, "Group", False)}</td>
</tr>
<%def name="quick_tasks(id, type, is_disabled=False)">
<ul class="quick-tasks">
- <li><a href="${h.url_for(controller = 'account', action = 'edit' + type.lower(), id = id)}" title="${_('Edit %s' % (type))}"><img src="/default/images/icons/folder-pencil.png" alt="${_('Edit %s Icon' % (type))}"/></a></li>
- <li><a href="${h.url_for(controller = 'account', action = 'remove' + type.lower(), id = id)}" title="${_('Remove %s' % (type))}"><img src="/default/images/icons/folder-minus.png" alt="${_('Remove %s Icon' % (type))}"/></a></li>
+ <li><a href="${h.url_for('account_action', action=type.lower(), subaction='edit', id=id)}" title="${_('Edit %s' % (type))}"><img src="/default/images/icons/folder-pencil.png" alt="${_('Edit %s Icon' % (type))}"/></a></li>
+ <li><a href="${h.url_for('account_action', action=type.lower(), subaction='remove', id=id)}" title="${_('Remove %s' % (type))}"><img src="/default/images/icons/folder-minus.png" alt="${_('Remove %s Icon' % (type))}"/></a></li>
</ul>
</%def>