##// END OF EJS Templates
ui: make super admin named consistently across ui.
Bartlomiej Wolynczyk -
r4134:cc0663d2 default
parent child Browse files
Show More
@@ -29,7 +29,7 b''
29 29 ${base.gravatar(_user.email, 16, user=_user, tooltip=True)}
30 30 ${h.link_to_user(_user.username)}
31 31 %if getattr(_user, 'admin_row', None):
32 (${_('super admin')})
32 (${_('super-admin')})
33 33 %endif
34 34 %if getattr(_user, 'owner_row', None):
35 35 (${_('owner')})
@@ -28,7 +28,7 b''
28 28 ${base.gravatar(_user.email, 16, user=_user, tooltip=True)}
29 29 ${h.link_to_user(_user.username)}
30 30 %if getattr(_user, 'admin_row', None):
31 (${_('super admin')})
31 (${_('super-admin')})
32 32 %endif
33 33 %if getattr(_user, 'owner_row', None):
34 34 (${_('owner')})
@@ -30,7 +30,7 b''
30 30 <span class="user">
31 31 ${h.link_to_user(_user.username)}
32 32 %if getattr(_user, 'admin_row', None):
33 (${_('super admin')})
33 (${_('super-admin')})
34 34 %endif
35 35 %if getattr(_user, 'owner_row', None):
36 36 (${_('owner')})
@@ -106,7 +106,7 b''
106 106 </div>
107 107 <div class="field">
108 108 <div class="label-text">
109 ${_('Super Admin')}:
109 ${_('Super-admin')}:
110 110 </div>
111 111 <div class="input user-checkbox">
112 112 ${h.checkbox('admin',value=True)}
@@ -84,7 +84,7 b''
84 84 { data: {"_": "active",
85 85 "sort": "active"}, title: "${_('Active')}", className: "td-active" },
86 86 { data: {"_": "admin",
87 "sort": "admin"}, title: "${_('Super admin')}", className: "td-admin" },
87 "sort": "admin"}, title: "${_('Super-admin')}", className: "td-admin" },
88 88 { data: {"_": "extern_type",
89 89 "sort": "extern_type"}, title: "${_('Auth type')}", className: "td-type" },
90 90 { data: {"_": "action",
@@ -91,7 +91,7 b''
91 91 <div class="title-content">
92 92 <div class="title-main">
93 93 % if c.is_super_admin:
94 ${_('Super Admin Panel')}
94 ${_('Super-admin Panel')}
95 95 % else:
96 96 ${_('Delegated Admin Panel')}
97 97 % endif
@@ -101,7 +101,7 b''
101 101
102 102 <ul id="context-pages" class="navigation horizontal-list">
103 103
104 ## super admin case
104 ## super-admin case
105 105 % if c.is_super_admin:
106 106 <li class="${h.is_active('audit_logs', active)}"><a href="${h.route_path('admin_audit_logs')}">${_('Admin audit logs')}</a></li>
107 107 <li class="${h.is_active('repositories', active)}"><a href="${h.route_path('repos')}">${_('Repositories')}</a></li>
@@ -86,7 +86,7 b''
86 86 <td class="td-tags">
87 87 %if val[0]:
88 88 %if not val_lbl:
89 ## super admin case
89 ## super-admin case
90 90 True
91 91 %else:
92 92 <span class="perm_tag admin">${val_lbl}.admin</span>
@@ -142,7 +142,7 b''
142 142 ${glob(_('User group default permission'), get_section_perms('usergroup.', permissions[section]), 'usergroup',
143 143 edit_url=None, edit_global_url=h.route_path('admin_permissions_object'))}
144 144
145 ${glob(_('Super admin'), get_section_perms('hg.admin', permissions[section]),
145 ${glob(_('Super-admin'), get_section_perms('hg.admin', permissions[section]),
146 146 edit_url=h.route_path('user_edit', user_id=c.user.user_id, _anchor='admin'), edit_global_url=None)}
147 147
148 148 ${glob(_('Inherit permissions'), get_section_perms('hg.inherit_default_perms.', permissions[section]),
@@ -81,7 +81,7 b''
81 81 <p>
82 82 <strong>Exception ID: <code><a href="${c.exception_id_url}">${c.exception_id}</a></code> </strong> <br/>
83 83
84 Super Admins can see detailed traceback information from this exception by checking the below Exception ID.<br/>
84 Super-admins can see detailed traceback information from this exception by checking the below Exception ID.<br/>
85 85 Please include the above link for further details of this exception.
86 86 </p>
87 87 </div>
General Comments 0
You need to be logged in to leave comments. Login now