ui: make super admin named consistently across ui.
This commit is contained in:
parent
954c97d537
commit
4985fe50d8
8 changed files with 10 additions and 10 deletions
|
|
@ -29,7 +29,7 @@
|
|||
${base.gravatar(_user.email, 16, user=_user, tooltip=True)}
|
||||
${h.link_to_user(_user.username)}
|
||||
%if getattr(_user, 'admin_row', None):
|
||||
(${_('super admin')})
|
||||
(${_('super-admin')})
|
||||
%endif
|
||||
%if getattr(_user, 'owner_row', None):
|
||||
(${_('owner')})
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
${base.gravatar(_user.email, 16, user=_user, tooltip=True)}
|
||||
${h.link_to_user(_user.username)}
|
||||
%if getattr(_user, 'admin_row', None):
|
||||
(${_('super admin')})
|
||||
(${_('super-admin')})
|
||||
%endif
|
||||
%if getattr(_user, 'owner_row', None):
|
||||
(${_('owner')})
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<span class="user">
|
||||
${h.link_to_user(_user.username)}
|
||||
%if getattr(_user, 'admin_row', None):
|
||||
(${_('super admin')})
|
||||
(${_('super-admin')})
|
||||
%endif
|
||||
%if getattr(_user, 'owner_row', None):
|
||||
(${_('owner')})
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@
|
|||
</div>
|
||||
<div class="field">
|
||||
<div class="label-text">
|
||||
${_('Super Admin')}:
|
||||
${_('Super-admin')}:
|
||||
</div>
|
||||
<div class="input user-checkbox">
|
||||
${h.checkbox('admin',value=True)}
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ $(document).ready(function() {
|
|||
{ data: {"_": "active",
|
||||
"sort": "active"}, title: "${_('Active')}", className: "td-active" },
|
||||
{ data: {"_": "admin",
|
||||
"sort": "admin"}, title: "${_('Super admin')}", className: "td-admin" },
|
||||
"sort": "admin"}, title: "${_('Super-admin')}", className: "td-admin" },
|
||||
{ data: {"_": "extern_type",
|
||||
"sort": "extern_type"}, title: "${_('Auth type')}", className: "td-type" },
|
||||
{ data: {"_": "action",
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
<div class="title-content">
|
||||
<div class="title-main">
|
||||
% if c.is_super_admin:
|
||||
${_('Super Admin Panel')}
|
||||
${_('Super-admin Panel')}
|
||||
% else:
|
||||
${_('Delegated Admin Panel')}
|
||||
% endif
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
|
||||
<ul id="context-pages" class="navigation horizontal-list">
|
||||
|
||||
## super admin case
|
||||
## super-admin case
|
||||
% if c.is_super_admin:
|
||||
<li class="${h.is_active('audit_logs', active)}"><a href="${h.route_path('admin_audit_logs')}">${_('Admin audit logs')}</a></li>
|
||||
<li class="${h.is_active('repositories', active)}"><a href="${h.route_path('repos')}">${_('Repositories')}</a></li>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
<td class="td-tags">
|
||||
%if val[0]:
|
||||
%if not val_lbl:
|
||||
## super admin case
|
||||
## super-admin case
|
||||
True
|
||||
%else:
|
||||
<span class="perm_tag admin">${val_lbl}.admin</span>
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
${glob(_('User group default permission'), get_section_perms('usergroup.', permissions[section]), 'usergroup',
|
||||
edit_url=None, edit_global_url=h.route_path('admin_permissions_object'))}
|
||||
|
||||
${glob(_('Super admin'), get_section_perms('hg.admin', permissions[section]),
|
||||
${glob(_('Super-admin'), get_section_perms('hg.admin', permissions[section]),
|
||||
edit_url=h.route_path('user_edit', user_id=c.user.user_id, _anchor='admin'), edit_global_url=None)}
|
||||
|
||||
${glob(_('Inherit permissions'), get_section_perms('hg.inherit_default_perms.', permissions[section]),
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
<p>
|
||||
<strong>Exception ID: <code><a href="${c.exception_id_url}">${c.exception_id}</a></code> </strong> <br/>
|
||||
|
||||
Super Admins can see detailed traceback information from this exception by checking the below Exception ID.<br/>
|
||||
Super-admins can see detailed traceback information from this exception by checking the below Exception ID.<br/>
|
||||
Please include the above link for further details of this exception.
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue