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 @@
-
diff --git a/rhodecode/templates/_data_table/_dt_elements.html b/rhodecode/templates/_data_table/_dt_elements.html --- a/rhodecode/templates/_data_table/_dt_elements.html +++ b/rhodecode/templates/_data_table/_dt_elements.html @@ -10,33 +10,33 @@ ${_('Summary')} - ${_('Summary')} - + ${_('Summary')} +
  • ${_('Changelog')} - ${_('Changelog')} - + ${_('Changelog')} +
  • ${_('Files')} - ${_('Files')} - + ${_('Files')} +
  • ${_('Fork')} - ${_('Fork')} - -
  • + ${_('Fork')} + + @@ -47,16 +47,16 @@ ${_('Mercurial repository')} %elif rtype =='git': ${_('Git repository')} - %endif - + %endif + ##PRIVATE/PUBLIC %if private: ${_('private repository')} %else: ${_('public repository')} %endif - - ##NAME + + ##NAME ${h.link_to(name,h.url('summary_home',repo_name=name),class_="repo_name")} %if fork_of: diff --git a/rhodecode/templates/admin/admin.html b/rhodecode/templates/admin/admin.html --- a/rhodecode/templates/admin/admin.html +++ b/rhodecode/templates/admin/admin.html @@ -24,5 +24,5 @@ ${c.log_data} - - \ No newline at end of file + + diff --git a/rhodecode/templates/admin/admin_log.html b/rhodecode/templates/admin/admin_log.html --- a/rhodecode/templates/admin/admin_log.html +++ b/rhodecode/templates/admin/admin_log.html @@ -23,7 +23,7 @@ ${l.repository_name} %endif - + ${l.action_date} ${l.user_ip} @@ -36,7 +36,7 @@ ypjax(e.target.href,"user_log",function(){show_more_event();tooltip_activate();}); YUE.preventDefault(e); },'.pager_link'); - + YUE.delegate("user_log","click",function(e,matchedEl,container){ var el = e.target; YUD.setStyle(YUD.get(el.id.substring(1)),'display',''); @@ -48,6 +48,6 @@
    ${c.users_log.pager('$link_previous ~2~ $link_next')}
    -%else: - ${_('No actions yet')} -%endif \ No newline at end of file +%else: + ${_('No actions yet')} +%endif diff --git a/rhodecode/templates/admin/ldap/ldap.html b/rhodecode/templates/admin/ldap/ldap.html --- a/rhodecode/templates/admin/ldap/ldap.html +++ b/rhodecode/templates/admin/ldap/ldap.html @@ -6,9 +6,9 @@ <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} + ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('Ldap')} + ${_('Ldap')} <%def name="page_nav()"> @@ -19,7 +19,7 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    ${h.form(url('ldap_settings'))}
    @@ -84,20 +84,12 @@
    ${h.text('ldap_attr_email',class_='small')}
    - +
    ${h.submit('save',_('Save'),class_="ui-button")} -
    +
    - - ${h.end_form()} + + ${h.end_form()} - - - - - - - - - + diff --git a/rhodecode/templates/admin/notifications/notifications.html b/rhodecode/templates/admin/notifications/notifications.html --- a/rhodecode/templates/admin/notifications/notifications.html +++ b/rhodecode/templates/admin/notifications/notifications.html @@ -17,12 +17,12 @@
    - ${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) - }) + }) }); }) - + 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')} @@ -19,12 +19,12 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()} + +
    @@ -51,4 +51,4 @@ var main = "${url('notifications')}"; deleteNotification(url,notification_id,[function(){window.location=main}]) }) - + 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 name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} + ${h.link_to(_('Admin'),h.url('admin_home'))} » - ${_('Permissions')} + ${_('Permissions')} <%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)}
    -
    +
    ${h.select('default_perm','',c.perms_choices)} - + ${h.checkbox('overwrite_default','true')} -
    -
    +
    +
    @@ -57,7 +57,7 @@
    ${h.select('default_register','',c.register_choices)}
    -
    +
    @@ -65,20 +65,13 @@
    ${h.select('default_create','',c.create_choices)}
    -
    - +
    +
    ${h.submit('set',_('set'),class_="ui-button")} -
    + - + ${h.end_form()} - - - - - - - - + diff --git a/rhodecode/templates/admin/repos/repo_add.html b/rhodecode/templates/admin/repos/repo_add.html --- a/rhodecode/templates/admin/repos/repo_add.html +++ b/rhodecode/templates/admin/repos/repo_add.html @@ -6,9 +6,9 @@ <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} - » - ${h.link_to(_('Repositories'),h.url('repos'))} + ${h.link_to(_('Admin'),h.url('admin_home'))} + » + ${h.link_to(_('Repositories'),h.url('repos'))} » ${_('add new')} @@ -21,8 +21,8 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    <%include file="repo_add_base.html"/> -
    - \ No newline at end of file + + diff --git a/rhodecode/templates/admin/repos/repo_add_base.html b/rhodecode/templates/admin/repos/repo_add_base.html --- a/rhodecode/templates/admin/repos/repo_add_base.html +++ b/rhodecode/templates/admin/repos/repo_add_base.html @@ -22,7 +22,7 @@ ${h.form(url('repos'))}
    ${h.text('clone_uri',class_="small")}
    - +
    @@ -30,7 +30,7 @@ ${h.form(url('repos'))}
    ${h.select('repo_group','',c.repo_groups,class_="medium")}
    -
    +
    @@ -38,7 +38,7 @@ ${h.form(url('repos'))}
    ${h.select('repo_type','hg',c.backends,class_="small")}
    -
    +
    @@ -57,7 +57,7 @@ ${h.form(url('repos'))}
    ${h.submit('add',_('add'),class_="ui-button")} -
    +
    - -${h.end_form()} + +${h.end_form()} diff --git a/rhodecode/templates/admin/repos/repo_add_create_repository.html b/rhodecode/templates/admin/repos/repo_add_create_repository.html --- a/rhodecode/templates/admin/repos/repo_add_create_repository.html +++ b/rhodecode/templates/admin/repos/repo_add_create_repository.html @@ -17,8 +17,8 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    <%include file="repo_add_base.html"/> -
    - \ No newline at end of file + + diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html --- a/rhodecode/templates/admin/repos/repo_edit.html +++ b/rhodecode/templates/admin/repos/repo_edit.html @@ -6,9 +6,9 @@ <%def name="breadcrumbs_links()"> - ${h.link_to(_('Admin'),h.url('admin_home'))} - » - ${h.link_to(_('Repositories'),h.url('repos'))} + ${h.link_to(_('Admin'),h.url('admin_home'))} + » + ${h.link_to(_('Repositories'),h.url('repos'))} » ${_('edit')} » ${h.link_to(c.repo_info.just_name,h.url('summary_home',repo_name=c.repo_name))} @@ -21,7 +21,7 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    ${h.form(url('repo', repo_name=c.repo_info.repo_name),method='put')}
    @@ -42,7 +42,7 @@
    ${h.text('clone_uri',class_="medium")}
    -
    +
    @@ -50,7 +50,7 @@
    ${h.select('repo_group','',c.repo_groups,class_="medium")}
    -
    +
    @@ -58,7 +58,7 @@
    ${h.select('repo_type','hg',c.backends,class_="medium")}
    -
    +
    @@ -67,7 +67,7 @@ ${h.textarea('description',cols=23,rows=5)}
    - +
    @@ -83,7 +83,7 @@
    ${h.checkbox('enable_statistics',value="True")}
    -
    +
    @@ -91,7 +91,7 @@
    ${h.checkbox('enable_downloads',value="True")}
    -
    +
    @@ -102,8 +102,8 @@
    - - + +
    @@ -111,22 +111,22 @@
    <%include file="repo_edit_perms.html"/>
    - +
    ${h.submit('save','Save',class_="ui-button")} ${h.reset('reset','Reset',class_="ui-button")} -
    +
    - + ${h.end_form()}
    -
    ${_('Administration')}
    +
    ${_('Administration')}
    - +

    ${_('Statistics')}

    ${h.form(url('repo_stats', repo_name=c.repo_info.repo_name),method='delete')}
    @@ -139,9 +139,9 @@
    - + ${h.end_form()} - + %if c.repo_info.clone_uri:

    ${_('Remote')}

    ${h.form(url('repo_pull', repo_name=c.repo_info.repo_name),method='put')} @@ -151,22 +151,22 @@
    -
    + + - + ${h.end_form()} %endif - +

    ${_('Cache')}

    ${h.form(url('repo_cache', repo_name=c.repo_info.repo_name),method='delete')}
    ${h.submit('reset_cache_%s' % c.repo_info.repo_name,_('Invalidate repository cache'),class_="ui-btn",onclick="return confirm('"+_('Confirm to invalidate repository cache')+"');")}
    -
    + ${h.end_form()} - +

    ${_('Public journal')}

    ${h.form(url('repo_public_journal', repo_name=c.repo_info.repo_name),method='put')}
    @@ -183,10 +183,10 @@
  • ${_('''All actions made on this repository will be accessible to everyone in public journal''')}
  • -
    + ${h.end_form()} - +

    ${_('Delete')}

    ${h.form(url('repo', repo_name=c.repo_info.repo_name),method='delete')}
    @@ -195,12 +195,12 @@
    -
    - + + ${h.end_form()}

    ${_('Set as fork')}

    @@ -214,11 +214,11 @@ - - + + ${h.end_form()} - + - + diff --git a/rhodecode/templates/admin/repos/repo_edit_perms.html b/rhodecode/templates/admin/repos/repo_edit_perms.html --- a/rhodecode/templates/admin/repos/repo_edit_perms.html +++ b/rhodecode/templates/admin/repos/repo_edit_perms.html @@ -7,7 +7,7 @@ ${_('member')} - ## USERS + ## USERS %for r2p in c.repo_info.repo_to_perm: %if r2p.user.username =='default' and c.repo_info.private: @@ -32,13 +32,13 @@ ${_('revoke')} - %endif + %endif %endif %endfor - - ## USERS GROUPS + + ## USERS GROUPS %for g2p in c.repo_info.users_group_to_perm: ${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 @@ + +
    <%cnt=0%> <%namespace name="dt" file="/_data_table/_dt_elements.html"/> - + @@ -41,7 +41,7 @@ - + %for cnt,repo in enumerate(c.repos_list,1): ##LAST REVISION
    ${_('Action')}
    @@ -60,7 +60,7 @@ - ${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 @@
    - + - + }); + + 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 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 name="page_nav()"> @@ -18,4 +18,4 @@ <%def name="main()"> <%include file="/index_base.html" args="parent=self"/> - + 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 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')} @@ -20,7 +20,7 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    ${h.form(url('repos_groups'))} @@ -35,7 +35,7 @@ ${h.text('group_name',class_='medium')}
    - +
    @@ -44,7 +44,7 @@ ${h.textarea('group_description',cols=23,rows=5,class_="medium")}
    - +
    @@ -52,13 +52,13 @@
    ${h.select('group_parent_id','',c.repo_groups,class_="medium")}
    -
    - +
    +
    ${h.submit('save',_('save'),class_="ui-button")} -
    + ${h.end_form()} - - + + 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 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}" @@ -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')}
    - +
    @@ -44,7 +44,7 @@ ${h.textarea('group_description',cols=23,rows=5,class_="medium")}
    - +
    @@ -52,13 +52,13 @@
    ${h.select('group_parent_id','',c.repo_groups,class_="medium")}
    -
    - +
    +
    ${h.submit('save',_('save'),class_="ui-button")} -
    + ${h.end_form()} - - + + 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 @@ + +
    % if c.groups: - + @@ -36,9 +36,9 @@ - + ## REPO GROUPS - + % for gr in c.groups: + % endfor - +
    ${_('Group name')}${_('action')}
    @@ -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()} -
    % else: ${_('There are no repositories groups yet')} % endif - +
    - - - + + + 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')}

    @@ -36,29 +36,29 @@ % endfor
    - +

    ${_('Custom hooks')}

    ${h.form(url('admin_setting', setting_id='hooks'),method='put')}
    - + % for hook in c.custom_hooks:
    -
    +
    ${h.hidden('hook_ui_key',hook.ui_key)} ${h.hidden('hook_ui_value',hook.ui_value)} ${h.text('hook_ui_value_new',hook.ui_value,size=60)} - ${_('remove')}
    - % endfor - + % endfor +
    @@ -71,7 +71,7 @@
    ${h.submit('save',_('Save'),class_="ui-button")} -
    +
    ${h.end_form()} @@ -92,5 +92,5 @@ function ajaxActionHook(hook_id,field_id var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData); }; - - + + diff --git a/rhodecode/templates/admin/settings/settings.html b/rhodecode/templates/admin/settings/settings.html --- a/rhodecode/templates/admin/settings/settings.html +++ b/rhodecode/templates/admin/settings/settings.html @@ -17,15 +17,15 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    - +

    ${_('Remap and rescan repositories')}

    ${h.form(url('admin_setting', setting_id='mapping'),method='put')}
    - +
    @@ -40,19 +40,19 @@
    - +
    ${h.submit('rescan',_('Rescan repositories'),class_="ui-button")} -
    +
    -
    +
    ${h.end_form()} - +

    ${_('Whoosh indexing')}

    ${h.form(url('admin_setting', setting_id='whoosh'),method='put')}
    - +
    @@ -65,21 +65,21 @@
    - +
    ${h.submit('reindex',_('Reindex'),class_="ui-button")} -
    +
    - + ${h.end_form()} - -

    ${_('Global application settings')}

    + +

    ${_('Global application settings')}

    ${h.form(url('admin_setting', setting_id='global'),method='put')}
    - +
    - +
    @@ -88,7 +88,7 @@ ${h.text('rhodecode_title',size=30)}
    - +
    @@ -97,7 +97,7 @@ ${h.text('rhodecode_realm',size=30)}
    - +
    @@ -106,22 +106,22 @@ ${h.text('rhodecode_ga_code',size=30)}
    - +
    ${h.submit('save',_('Save settings'),class_="ui-button")} ${h.reset('reset',_('Reset'),class_="ui-button")} -
    +
    - + ${h.end_form()} -

    ${_('Mercurial settings')}

    +

    ${_('Mercurial settings')}

    ${h.form(url('admin_setting', setting_id='mercurial'),method='put')}
    - +
    - +
    @@ -132,7 +132,7 @@
    -
    +
    @@ -154,32 +154,32 @@
    ${h.checkbox('hooks_preoutgoing_pull_logger','True')} -
    +
    ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} -
    - + +
    - ${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')}
    - +
    @@ -202,13 +202,13 @@ ${h.text('test_email',size=30)}
    - +
    ${h.submit('send',_('Send'),class_="ui-button")} -
    +
    - - ${h.end_form()} - + + ${h.end_form()} + - + 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 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')} @@ -20,7 +20,7 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    ${h.form(url('users'))} @@ -35,7 +35,7 @@ ${h.text('username',class_='small')}
    - +
    @@ -44,7 +44,7 @@ ${h.password('password',class_='small')}
    - +
    @@ -52,8 +52,8 @@
    ${h.password('password_confirmation',class_="small",autocomplete="off")}
    -
    - +
    +
    @@ -62,7 +62,7 @@ ${h.text('name',class_='small')}
    - +
    @@ -71,7 +71,7 @@ ${h.text('lastname',class_='small')}
    - +
    @@ -80,7 +80,7 @@ ${h.text('email',class_='small')}
    - +
    @@ -89,12 +89,12 @@ ${h.checkbox('active',value=True)}
    - +
    ${h.submit('save',_('save'),class_="ui-button")} -
    + ${h.end_form()} - - + + 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 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}" @@ -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 @@ ${c.user.api_key}
    - +
    @@ -53,7 +53,7 @@ ${h.text('username',class_='medium')}
    - +
    @@ -62,7 +62,7 @@ ${h.text('ldap_dn',class_='medium')}
    - +
    @@ -71,7 +71,7 @@ ${h.password('new_password',class_='medium',autocomplete="off")}
    - +
    @@ -80,7 +80,7 @@ ${h.password('password_confirmation',class_="medium",autocomplete="off")}
    - +
    @@ -89,7 +89,7 @@ ${h.text('name',class_='medium')}
    - +
    @@ -98,7 +98,7 @@ ${h.text('lastname',class_='medium')}
    - +
    @@ -107,7 +107,7 @@ ${h.text('email',class_='medium')}
    - +
    @@ -116,7 +116,7 @@ ${h.checkbox('active',value=True)}
    - +
    @@ -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')}
    @@ -153,9 +153,9 @@
    ${h.submit('save',_('Save'),class_="ui-button")} ${h.reset('reset',_('Reset'),class_="ui-button")} -
    -
    +
    + - ${h.end_form()} + ${h.end_form()} 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')}
    - +
    gravatar
    @@ -34,15 +34,15 @@
    ${_('Using')} ${c.user.email} %else:
    ${c.user.email} - %endif + %endif

    -
    +
    ${c.user.api_key}
    -
    +
    @@ -52,7 +52,7 @@ ${h.text('username',class_="medium")}
    - +
    @@ -61,7 +61,7 @@ ${h.password('new_password',class_="medium",autocomplete="off")}
    - +
    @@ -70,7 +70,7 @@ ${h.password('password_confirmation',class_="medium",autocomplete="off")}
    - +
    @@ -79,7 +79,7 @@ ${h.text('name',class_="medium")}
    - +
    @@ -88,7 +88,7 @@ ${h.text('lastname',class_="medium")}
    - +
    @@ -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()} - +
    -
    - +
    + ${_('My repositories')}
    %if h.HasPermissionAny('hg.admin','hg.create.repository')(): - %endif + + + %endif
    @@ -130,7 +130,7 @@ ${_('Name')} ${_('revision')} - ${_('action')} + ${_('action')} %if c.user_repos: @@ -142,34 +142,34 @@ %elif repo['dbrepo']['repo_type'] =='git': ${_('Git repository')} %else: - - %endif + + %endif %if repo['dbrepo']['private']: ${_('private')} %else: ${_('public')} %endif - + ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']),class_="repo_name")} %if repo['dbrepo_fork']: ${_('public')} - %endif - + %endif + ${("r%s:%s") % (repo['rev'],h.short_id(repo['tip']))} ${_('private')} ${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); - + 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 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')} @@ -20,7 +20,7 @@
    - ${self.breadcrumbs()} + ${self.breadcrumbs()}
    ${h.form(url('users_groups'))} @@ -35,7 +35,7 @@ ${h.text('users_group_name',class_='small')}
    - +
    @@ -44,12 +44,12 @@ ${h.checkbox('users_group_active',value=True)}
    - +
    ${h.submit('save',_('save'),class_="ui-button")} -
    +
    ${h.end_form()} - - + + 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 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}" @@ -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')}
    - +
    @@ -50,7 +50,7 @@
    - +
    - -
    @@ -63,12 +63,12 @@
    - add
    - remove
    @@ -77,41 +77,41 @@
    add ${_('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')}
    @@ -262,9 +262,9 @@ ${h.end_form()}
    ${h.submit('save',_('Save'),class_="ui-button")} ${h.reset('reset',_('Reset'),class_="ui-button")} -
    -
    +
    + - ${h.end_form()} + ${h.end_form()} - + 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)}
    - -
    + +
    @@ -26,29 +26,29 @@
    ${h.password('password',class_='focus',size=40)}
    - +
    ${h.link_to(_('Forgot password ?'),h.url('reset_password'))}
    %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): ${h.link_to(_("Don't have an account ?"),h.url('register'))} - %endif + %endif
    ${h.submit('sign_in',_('Sign In'),class_="ui-button")}
    ${h.end_form()} - - + +
    gravatar
    %if c.rhodecode_user.username == 'default': - ${_('Public journal')} - %else: + ${_('Public journal')} + %else:
    ${h.link_to(c.rhodecode_user.username,h.url('admin_settings_my_account'),title='%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname))}
    @@ -56,7 +56,7 @@ ${c.unread_notifications}
    %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
  • ${_('Files')} - ${_('Files')} - -
  • - + ${_('Files')} + + +
  • ${_('Admin')} - ${_('Options')} + ${_('Options')} +
  • - +
  • @@ -255,7 +255,7 @@ ${c.repository_forks} -
  • + + %else: ##ROOT MENU