diff --git a/docs/theme/nature/layout.html b/docs/theme/nature/layout.html
--- a/docs/theme/nature/layout.html
+++ b/docs/theme/nature/layout.html
@@ -6,7 +6,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
+
+
%if c.notifications:
@@ -46,8 +46,8 @@ YUE.on(YUQ('.delete-notification'),'clic
YUE.on(YUQ('.delete-notification'),'click',function(e){
var notification_id = e.currentTarget.id;
deleteNotification(url_del,notification_id)
- })
+ })
});
})
-%def>
+%def>
diff --git a/rhodecode/templates/admin/notifications/notifications_data.html b/rhodecode/templates/admin/notifications/notifications_data.html
--- a/rhodecode/templates/admin/notifications/notifications_data.html
+++ b/rhodecode/templates/admin/notifications/notifications_data.html
@@ -25,4 +25,4 @@ unread = lambda n:{False:'unread'}.get(n
%else:
${_('No notifications here yet')}
-%endif
\ No newline at end of file
+%endif
diff --git a/rhodecode/templates/admin/notifications/show_notification.html b/rhodecode/templates/admin/notifications/show_notification.html
--- a/rhodecode/templates/admin/notifications/show_notification.html
+++ b/rhodecode/templates/admin/notifications/show_notification.html
@@ -7,7 +7,7 @@
<%def name="breadcrumbs_links()">
${h.link_to(_('Notifications'),h.url('notifications'))}
- »
+ »
${_('Show notification')}
%def>
@@ -19,12 +19,12 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
+
+
@@ -51,4 +51,4 @@ var main = "${url('notifications')}";
deleteNotification(url,notification_id,[function(){window.location=main}])
})
-%def>
+%def>
diff --git a/rhodecode/templates/admin/permissions/permissions.html b/rhodecode/templates/admin/permissions/permissions.html
--- a/rhodecode/templates/admin/permissions/permissions.html
+++ b/rhodecode/templates/admin/permissions/permissions.html
@@ -6,9 +6,9 @@
%def>
<%def name="breadcrumbs_links()">
- ${h.link_to(_('Admin'),h.url('admin_home'))}
+ ${h.link_to(_('Admin'),h.url('admin_home'))}
»
- ${_('Permissions')}
+ ${_('Permissions')}
%def>
<%def name="page_nav()">
@@ -19,7 +19,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${_('Default permissions')}
${h.form(url('permission', id='default'),method='put')}
@@ -35,21 +35,21 @@
${h.checkbox('anonymous',True)}
-
+
${_('Repository permission')}:
${h.select('default_perm','',c.perms_choices)}
-
+
${h.checkbox('overwrite_default','true')}
-
${_('overwrite existing settings')}
-
-
+
+
${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.none')}
@@ -92,10 +92,10 @@ function ajaxActionUser(user_id, field_i
var postData = '_method=delete&user_id=' + user_id;
var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData);
};
-
+
function ajaxActionUsersGroup(users_group_id,field_id){
var sUrl = "${h.url('delete_repo_users_group',repo_name=c.repo_name)}";
- var callback = {
+ var callback = {
success:function(o){
var tr = YUD.get(String(field_id));
tr.parentNode.removeChild(tr);
@@ -104,7 +104,7 @@ function ajaxActionUsersGroup(users_grou
alert("${_('Failed to remove users group')}");
},
};
- var postData = '_method=delete&users_group_id='+users_group_id;
+ var postData = '_method=delete&users_group_id='+users_group_id;
var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData);
};
@@ -267,7 +267,7 @@ YAHOO.example.FnMultipleFields = functio
membersAC.itemSelectEvent.subscribe(myHandler);
if(ownerAC.itemSelectEvent){
- ownerAC.itemSelectEvent.subscribe(myHandler);
+ ownerAC.itemSelectEvent.subscribe(myHandler);
}
return {
@@ -277,5 +277,5 @@ YAHOO.example.FnMultipleFields = functio
ownerAC: ownerAC,
};
}();
-
-
\ No newline at end of file
+
+
diff --git a/rhodecode/templates/admin/repos/repos.html b/rhodecode/templates/admin/repos/repos.html
--- a/rhodecode/templates/admin/repos/repos.html
+++ b/rhodecode/templates/admin/repos/repos.html
@@ -20,15 +20,15 @@
${h.link_to(_(u'ADD REPOSITORY'),h.url('new_repo'))}
-
-
+
+
<%cnt=0%>
<%namespace name="dt" file="/_data_table/_dt_elements.html"/>
-
+
@@ -41,7 +41,7 @@
${_('Action')}
-
+
%for cnt,repo in enumerate(c.repos_list,1):
##LAST REVISION
- ${dt.revision(repo['name'],repo['rev'],repo['tip'],repo['author'],repo['last_msg'])}
+ ${dt.revision(repo['name'],repo['rev'],repo['tip'],repo['author'],repo['last_msg'])}
${h.person(repo['contact'])}
@@ -73,9 +73,9 @@
-
+
-%def>
+ });
+
+%def>
diff --git a/rhodecode/templates/admin/repos_groups/repos_groups.html b/rhodecode/templates/admin/repos_groups/repos_groups.html
--- a/rhodecode/templates/admin/repos_groups/repos_groups.html
+++ b/rhodecode/templates/admin/repos_groups/repos_groups.html
@@ -5,12 +5,12 @@
%def>
<%def name="breadcrumbs()">
- ${_('Groups')}
+ ${_('Groups')}
%if c.group.parent_group:
» ${h.link_to(c.group.parent_group.name,h.url('repos_group_home',group_name=c.group.parent_group.group_name))}
%endif
» "${c.group.name}" ${_('with')}
-
+
%def>
<%def name="page_nav()">
@@ -18,4 +18,4 @@
%def>
<%def name="main()">
<%include file="/index_base.html" args="parent=self"/>
-%def>
+%def>
diff --git a/rhodecode/templates/admin/repos_groups/repos_groups_add.html b/rhodecode/templates/admin/repos_groups/repos_groups_add.html
--- a/rhodecode/templates/admin/repos_groups/repos_groups_add.html
+++ b/rhodecode/templates/admin/repos_groups/repos_groups_add.html
@@ -5,9 +5,9 @@
${_('Add repos group')} - ${c.rhodecode_name}
%def>
<%def name="breadcrumbs_links()">
- ${h.link_to(_('Admin'),h.url('admin_home'))}
- »
- ${h.link_to(_('Repos groups'),h.url('repos_groups'))}
+ ${h.link_to(_('Admin'),h.url('admin_home'))}
+ »
+ ${h.link_to(_('Repos groups'),h.url('repos_groups'))}
»
${_('add new repos group')}
%def>
@@ -20,7 +20,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${h.form(url('repos_groups'))}
@@ -35,7 +35,7 @@
${h.text('group_name',class_='medium')}
-
+
${_('Description')}:
@@ -44,7 +44,7 @@
${h.textarea('group_description',cols=23,rows=5,class_="medium")}
-
+
${_('Group parent')}:
@@ -52,13 +52,13 @@
${h.select('group_parent_id','',c.repo_groups,class_="medium")}
-
-
+
+
${h.submit('save',_('save'),class_="ui-button")}
-
+
${h.end_form()}
-
-%def>
+
+%def>
diff --git a/rhodecode/templates/admin/repos_groups/repos_groups_edit.html b/rhodecode/templates/admin/repos_groups/repos_groups_edit.html
--- a/rhodecode/templates/admin/repos_groups/repos_groups_edit.html
+++ b/rhodecode/templates/admin/repos_groups/repos_groups_edit.html
@@ -5,9 +5,9 @@
${_('Edit repos group')} ${c.repos_group.name} - ${c.rhodecode_name}
%def>
<%def name="breadcrumbs_links()">
- ${h.link_to(_('Admin'),h.url('admin_home'))}
- »
- ${h.link_to(_('Repos groups'),h.url('repos_groups'))}
+ ${h.link_to(_('Admin'),h.url('admin_home'))}
+ »
+ ${h.link_to(_('Repos groups'),h.url('repos_groups'))}
»
${_('edit repos group')} "${c.repos_group.name}"
%def>
@@ -20,7 +20,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${h.form(url('repos_group',id=c.repos_group.group_id),method='put')}
@@ -35,7 +35,7 @@
${h.text('group_name',class_='medium')}
-
+
${_('Description')}:
@@ -44,7 +44,7 @@
${h.textarea('group_description',cols=23,rows=5,class_="medium")}
-
+
${_('Group parent')}:
@@ -52,13 +52,13 @@
${h.select('group_parent_id','',c.repo_groups,class_="medium")}
-
-
+
+
${h.submit('save',_('save'),class_="ui-button")}
-
+
${h.end_form()}
-
-%def>
+
+%def>
diff --git a/rhodecode/templates/admin/repos_groups/repos_groups_show.html b/rhodecode/templates/admin/repos_groups/repos_groups_show.html
--- a/rhodecode/templates/admin/repos_groups/repos_groups_show.html
+++ b/rhodecode/templates/admin/repos_groups/repos_groups_show.html
@@ -20,14 +20,14 @@
${h.link_to(_(u'ADD NEW GROUP'),h.url('new_repos_group'))}
-
-
+
+
% if c.groups:
-
+
${_('Group name')}
@@ -36,9 +36,9 @@
${_('action')}
-
+
## REPO GROUPS
-
+
% for gr in c.groups:
@@ -53,16 +53,16 @@
${h.form(url('repos_group', id=gr.group_id),method='delete')}
${h.submit('remove_%s' % gr.name,'delete',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this group: %s') % gr.name+"');")}
${h.end_form()}
-
+
% endfor
-
+
% else:
${_('There are no repositories groups yet')}
% endif
-
+
-
-
-%def>
+
+
+%def>
diff --git a/rhodecode/templates/admin/settings/hooks.html b/rhodecode/templates/admin/settings/hooks.html
--- a/rhodecode/templates/admin/settings/hooks.html
+++ b/rhodecode/templates/admin/settings/hooks.html
@@ -17,10 +17,10 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
-
+
${_('Built in hooks - read only')}
-
+
${_('Custom hooks')}
${h.form(url('admin_setting', setting_id='hooks'),method='put')}
${h.end_form()}
-
+
${_('Whoosh indexing')}
${h.form(url('admin_setting', setting_id='whoosh'),method='put')}
-
+
${h.end_form()}
-
- ${_('Global application settings')}
+
+ ${_('Global application settings')}
${h.form(url('admin_setting', setting_id='global'),method='put')}
-
+
${h.end_form()}
- ${_('Mercurial settings')}
+ ${_('Mercurial settings')}
${h.form(url('admin_setting', setting_id='mercurial'),method='put')}
@@ -154,32 +154,32 @@
${h.checkbox('hooks_preoutgoing_pull_logger','True')}
${_('Log user pull commands')}
-
+
${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")}
-
-
+
+
${_('Repositories location')}:
- ${h.text('paths_root_path',size=30,readonly="readonly")}
-
${_('unlock')}
-
+
${h.submit('save',_('Save settings'),class_="ui-button")}
${h.reset('reset',_('Reset'),class_="ui-button")}
-
+
-
+
${h.end_form()}
-
+
-
+
${_('Test Email')}
${h.form(url('admin_setting', setting_id='email'),method='put')}
-
- ${h.end_form()}
-
+
+ ${h.end_form()}
+
-%def>
+%def>
diff --git a/rhodecode/templates/admin/users/user_add.html b/rhodecode/templates/admin/users/user_add.html
--- a/rhodecode/templates/admin/users/user_add.html
+++ b/rhodecode/templates/admin/users/user_add.html
@@ -5,9 +5,9 @@
${_('Add user')} - ${c.rhodecode_name}
%def>
<%def name="breadcrumbs_links()">
- ${h.link_to(_('Admin'),h.url('admin_home'))}
- »
- ${h.link_to(_('Users'),h.url('users'))}
+ ${h.link_to(_('Admin'),h.url('admin_home'))}
+ »
+ ${h.link_to(_('Users'),h.url('users'))}
»
${_('add new user')}
%def>
@@ -20,7 +20,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${h.form(url('users'))}
@@ -35,7 +35,7 @@
${h.text('username',class_='small')}
-
+
${_('Password')}:
@@ -44,7 +44,7 @@
${h.password('password',class_='small')}
-
+
${_('Password confirmation')}:
@@ -52,8 +52,8 @@
${h.password('password_confirmation',class_="small",autocomplete="off")}
-
-
+
+
${_('First Name')}:
@@ -62,7 +62,7 @@
${h.text('name',class_='small')}
-
+
${_('Last Name')}:
@@ -71,7 +71,7 @@
${h.text('lastname',class_='small')}
-
+
${_('Email')}:
@@ -80,7 +80,7 @@
${h.text('email',class_='small')}
-
+
${_('Active')}:
@@ -89,12 +89,12 @@
${h.checkbox('active',value=True)}
-
+
${h.submit('save',_('save'),class_="ui-button")}
-
+
${h.end_form()}
-
-%def>
+
+%def>
diff --git a/rhodecode/templates/admin/users/user_edit.html b/rhodecode/templates/admin/users/user_edit.html
--- a/rhodecode/templates/admin/users/user_edit.html
+++ b/rhodecode/templates/admin/users/user_edit.html
@@ -6,9 +6,9 @@
%def>
<%def name="breadcrumbs_links()">
- ${h.link_to(_('Admin'),h.url('admin_home'))}
- »
- ${h.link_to(_('Users'),h.url('users'))}
+ ${h.link_to(_('Admin'),h.url('admin_home'))}
+ »
+ ${h.link_to(_('Users'),h.url('users'))}
»
${_('edit')} "${c.user.username}"
%def>
@@ -21,7 +21,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${h.form(url('update_user', id=c.user.user_id),method='put')}
@@ -35,7 +35,7 @@
${_('Using')} ${c.user.email}
%else:
${c.user.email}
- %endif
+ %endif
@@ -43,7 +43,7 @@
${_('API key')} ${c.user.api_key}
-
+
@@ -53,7 +53,7 @@
${h.text('username',class_='medium')}
-
+
${_('LDAP DN')}:
@@ -62,7 +62,7 @@
${h.text('ldap_dn',class_='medium')}
-
+
${_('New password')}:
@@ -71,7 +71,7 @@
${h.password('new_password',class_='medium',autocomplete="off")}
-
+
${_('New password confirmation')}:
@@ -80,7 +80,7 @@
${h.password('password_confirmation',class_="medium",autocomplete="off")}
-
+
${_('First Name')}:
@@ -89,7 +89,7 @@
${h.text('name',class_='medium')}
-
+
${_('Last Name')}:
@@ -98,7 +98,7 @@
${h.text('lastname',class_='medium')}
-
+
${_('Email')}:
@@ -107,7 +107,7 @@
${h.text('email',class_='medium')}
-
+
${_('Active')}:
@@ -116,7 +116,7 @@
${h.checkbox('active',value=True)}
-
+
${_('Admin')}:
@@ -124,19 +124,19 @@
${h.checkbox('admin',value=True)}
-
+
${h.submit('save',_('Save'),class_="ui-button")}
${h.reset('reset',_('Reset'),class_="ui-button")}
-
-
+
+
${h.end_form()}
-
${_('Permissions')}
+ ${_('Permissions')}
${h.form(url('user_perm', id=c.user.user_id),method='put')}
+
+
- ${h.end_form()}
+ ${h.end_form()}
%def>
diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html
--- a/rhodecode/templates/admin/users/user_edit_my_account.html
+++ b/rhodecode/templates/admin/users/user_edit_my_account.html
@@ -18,13 +18,13 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${h.form(url('admin_settings_my_account_update'),method='put')}
${_('API key')} ${c.user.api_key}
-
+
@@ -52,7 +52,7 @@
${h.text('username',class_="medium")}
-
+
${_('New password')}:
@@ -61,7 +61,7 @@
${h.password('new_password',class_="medium",autocomplete="off")}
-
+
${_('New password confirmation')}:
@@ -70,7 +70,7 @@
${h.password('password_confirmation',class_="medium",autocomplete="off")}
-
+
${_('First Name')}:
@@ -79,7 +79,7 @@
${h.text('name',class_="medium")}
-
+
${_('Last Name')}:
@@ -88,7 +88,7 @@
${h.text('lastname',class_="medium")}
-
+
${_('Email')}:
@@ -97,31 +97,31 @@
${h.text('email',class_="medium")}
-
+
${h.submit('save',_('Save'),class_="ui-button")}
${h.reset('reset',_('Reset'),class_="ui-button")}
-
+
-
+
${h.end_form()}
-
+
@@ -130,7 +130,7 @@
${_('Name')}
${_('revision')}
- ${_('action')}
+ ${_('action')}
%if c.user_repos:
@@ -142,34 +142,34 @@
%elif repo['dbrepo']['repo_type'] =='git':
%else:
-
- %endif
+
+ %endif
%if repo['dbrepo']['private']:
%else:
%endif
-
+
${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")}
%if repo['dbrepo_fork']:
- %endif
-
+ %endif
+
${("r%s:%s") % (repo['rev'],h.short_id(repo['tip']))}
${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')}
${h.submit('remove_%s' % repo['name'],'',class_="delete_icon action_button",onclick="return confirm('"+_('Confirm to delete this repository: %s') % repo['name']+"');")}
- ${h.end_form()}
+ ${h.end_form()}
%endfor
%else:
- ${_('No repositories yet')}
+ ${_('No repositories yet')}
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
${h.link_to(_('create one now'),h.url('admin_settings_create_repository'),class_="ui-btn")}
%endif
@@ -187,4 +187,4 @@ var func = function(node){
}
q_filter(target,nodes,func);
-%def>
+%def>
diff --git a/rhodecode/templates/admin/users/users.html b/rhodecode/templates/admin/users/users.html
--- a/rhodecode/templates/admin/users/users.html
+++ b/rhodecode/templates/admin/users/users.html
@@ -22,8 +22,8 @@
${h.link_to(_(u'ADD NEW USER'),h.url('new_user'))}
-
-
+
+
diff --git a/rhodecode/templates/admin/users_groups/users_group_add.html b/rhodecode/templates/admin/users_groups/users_group_add.html
--- a/rhodecode/templates/admin/users_groups/users_group_add.html
+++ b/rhodecode/templates/admin/users_groups/users_group_add.html
@@ -5,9 +5,9 @@
${_('Add users group')} - ${c.rhodecode_name}
%def>
<%def name="breadcrumbs_links()">
- ${h.link_to(_('Admin'),h.url('admin_home'))}
- »
- ${h.link_to(_('Users groups'),h.url('users_groups'))}
+ ${h.link_to(_('Admin'),h.url('admin_home'))}
+ »
+ ${h.link_to(_('Users groups'),h.url('users_groups'))}
»
${_('add new users group')}
%def>
@@ -20,7 +20,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${h.form(url('users_groups'))}
@@ -35,7 +35,7 @@
${h.text('users_group_name',class_='small')}
-
+
${_('Active')}:
@@ -44,12 +44,12 @@
${h.checkbox('users_group_active',value=True)}
-
+
${h.submit('save',_('save'),class_="ui-button")}
-
+
${h.end_form()}
-
-%def>
+
+%def>
diff --git a/rhodecode/templates/admin/users_groups/users_group_edit.html b/rhodecode/templates/admin/users_groups/users_group_edit.html
--- a/rhodecode/templates/admin/users_groups/users_group_edit.html
+++ b/rhodecode/templates/admin/users_groups/users_group_edit.html
@@ -6,9 +6,9 @@
%def>
<%def name="breadcrumbs_links()">
- ${h.link_to(_('Admin'),h.url('admin_home'))}
- »
- ${h.link_to(_('UsersGroups'),h.url('users_groups'))}
+ ${h.link_to(_('Admin'),h.url('admin_home'))}
+ »
+ ${h.link_to(_('UsersGroups'),h.url('users_groups'))}
»
${_('edit')} "${c.users_group.users_group_name}"
%def>
@@ -21,7 +21,7 @@
- ${self.breadcrumbs()}
+ ${self.breadcrumbs()}
${h.form(url('users_group', id=c.users_group.users_group_id),method='put', id='edit_users_group')}
@@ -36,7 +36,7 @@
${h.text('users_group_name',class_='small')}
-
+
${_('Active')}:
@@ -50,7 +50,7 @@
${_('Members')}:
-
+
@@ -63,12 +63,12 @@
-
-
@@ -77,41 +77,41 @@
${_('Add all elements')}
-
+
-
-
-
-
+
+
+
+
-
+
${h.submit('save',_('save'),class_="ui-button")}
-
-
-
-${h.end_form()}
+
+
+
+${h.end_form()}
-
+
+
-
${_('Permissions')}
+ ${_('Permissions')}
${h.form(url('users_group_perm', id=c.users_group.users_group_id), method='put')}
+
+
- ${h.end_form()}
+ ${h.end_form()}
-%def>
+%def>
diff --git a/rhodecode/templates/admin/users_groups/users_groups.html b/rhodecode/templates/admin/users_groups/users_groups.html
--- a/rhodecode/templates/admin/users_groups/users_groups.html
+++ b/rhodecode/templates/admin/users_groups/users_groups.html
@@ -22,8 +22,8 @@
${h.link_to(_(u'ADD NEW USER GROUP'),h.url('new_users_group'))}
-
-
+
+
diff --git a/rhodecode/templates/base/base.html b/rhodecode/templates/base/base.html
--- a/rhodecode/templates/base/base.html
+++ b/rhodecode/templates/base/base.html
@@ -17,8 +17,8 @@
${h.text('username',class_='focus',size=40)}
-
-
+
+
${_('Password')}:
@@ -26,29 +26,29 @@
${h.password('password',class_='focus',size=40)}
-
+
${h.end_form()}
-
-
+
+
%endif
-
+
${_('Home')}
@@ -82,11 +82,11 @@
${self.body()}
-
+
-
+
-
+
<% messages = h.flash.pop_messages() %>
% if messages:
@@ -96,11 +96,11 @@
% endfor
% endif
-
-
+
+
${next.main()}
-
+
@@ -111,7 +111,7 @@
${_('Submit a bug')}
@@ -132,13 +132,13 @@
<%def name="menu(current=None)">
- <%
+ <%
def is_current(selected):
if selected == current:
return h.literal('class="current"')
%>
- %if current not in ['home','admin']:
- ##REGULAR MENU
+ %if current not in ['home','admin']:
+ ##REGULAR MENU
- ${_('Changelog')}
-
-
-
+ ${_('Changelog')}
+
+
+
- ${_('Switch to')}
-
+ ${_('Switch to')}
+
+
- ${_('Files')}
-
-
-
+ ${_('Files')}
+
+
+
- ${_('Options')}
+ ${_('Options')}
%if h.HasRepoPermissionAll('repository.admin')(c.repo_name):
@@ -217,10 +217,10 @@
%endif
${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}
${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}
-
+
% if h.HasPermissionAll('hg.admin')('access admin main page'):
- ${h.link_to(_('admin'),h.url('admin_home'),class_='admin')}
+ ${h.link_to(_('admin'),h.url('admin_home'),class_='admin')}
<%def name="admin_menu()">
${h.link_to(_('journal'),h.url('admin_home'),class_='journal')}
@@ -230,16 +230,16 @@
${h.link_to(_('users groups'),h.url('users_groups'),class_='groups')}
${h.link_to(_('permissions'),h.url('edit_permission',id='default'),class_='permissions')}
${h.link_to(_('ldap'),h.url('ldap_home'),class_='ldap')}
- ${h.link_to(_('settings'),h.url('admin_settings'),class_='settings')}
+ ${h.link_to(_('settings'),h.url('admin_settings'),class_='settings')}
%def>
-
+
${admin_menu()}
% endif
-
+
-
+
@@ -255,7 +255,7 @@
${c.repository_forks}
-
+
+
%else:
##ROOT MENU
@@ -298,8 +298,8 @@
- ${_('Home')}
-
+ ${_('Home')}
+
% if c.rhodecode_user.username != 'default':
@@ -307,8 +307,8 @@
- ${_('Journal')}
-
+ ${_('Journal')}
+
% endif
@@ -316,17 +316,17 @@
- ${_('Search')}
-
+ ${_('Search')}
+
-
+
%if h.HasPermissionAll('hg.admin')('access admin main page'):
- ${_('Admin')}
+ ${_('Admin')}
${admin_menu()}
diff --git a/rhodecode/templates/base/root.html b/rhodecode/templates/base/root.html
--- a/rhodecode/templates/base/root.html
+++ b/rhodecode/templates/base/root.html
@@ -16,16 +16,16 @@
%def>
<%def name="css_extra()">
%def>
-
+
${self.css()}
-
+
%if c.ga_code:
%endif
-
+
## JAVASCRIPT ##
<%def name="js()">
@@ -44,21 +44,21 @@
## EXTRA FOR JS
${self.js_extra()}
-
+
%def>
<%def name="js_extra()">%def>
@@ -139,4 +139,4 @@
${next.body()}
-