# HG changeset patch # User Marcin Kuzminski # Date 1349734481 -7200 # Node ID 0b86972de8207101d5ff9079cbdcbe572b80359d # Parent c008f1b0cf620b1299cb7e990177084efeae7b42 white space cleanup diff -r c008f1b0cf62 -r 0b86972de820 rhodecode/controllers/settings.py --- a/rhodecode/controllers/settings.py Tue Oct 09 00:14:14 2012 +0200 +++ b/rhodecode/controllers/settings.py Tue Oct 09 00:14:41 2012 +0200 @@ -188,4 +188,3 @@ h.flash(_('An error occurred during unlocking'), category='error') return redirect(url('summary_home', repo_name=repo_name)) - diff -r c008f1b0cf62 -r 0b86972de820 rhodecode/lib/db_manage.py --- a/rhodecode/lib/db_manage.py Tue Oct 09 00:14:14 2012 +0200 +++ b/rhodecode/lib/db_manage.py Tue Oct 09 00:14:41 2012 +0200 @@ -667,4 +667,4 @@ if not __py_version__ >= (2, 6): notify('Python2.5 detected, please switch ' 'egg:waitress#main -> egg:Paste#http ' - 'in your .ini file') \ No newline at end of file + 'in your .ini file') diff -r c008f1b0cf62 -r 0b86972de820 rhodecode/templates/admin/users/user_edit_my_account.html --- a/rhodecode/templates/admin/users/user_edit_my_account.html Tue Oct 09 00:14:14 2012 +0200 +++ b/rhodecode/templates/admin/users/user_edit_my_account.html Tue Oct 09 00:14:41 2012 +0200 @@ -118,7 +118,7 @@ YUD.setStyle('my','display','none'); YUD.setStyle('pullrequests','display','none'); YUD.setStyle('perms','display',''); - YUD.setStyle('q_filter','display','none'); + YUD.setStyle('q_filter','display','none'); } YUE.on('show_perms','click',function(e){ show_perms(); @@ -134,12 +134,12 @@ YUD.setStyle('my','display',''); YUD.setStyle('q_filter','display',''); - + var url = "${h.url('admin_settings_my_repos')}"; ypjax(url, 'my', function(){ table_sort(); filter_activate(); - }); + }); } YUE.on('show_my','click',function(e){ show_my(e); @@ -154,9 +154,9 @@ YUD.setStyle('perms','display','none'); YUD.setStyle('pullrequests','display',''); YUD.setStyle('q_filter','display','none'); - + var url = "${h.url('admin_settings_my_pullrequests')}"; - ypjax(url, 'pullrequests'); + ypjax(url, 'pullrequests'); } YUE.on('show_pullrequests','click',function(e){ show_pullrequests(e) @@ -167,12 +167,12 @@ 'my': show_my, 'pullrequests': show_pullrequests } -var url = location.href.split('#'); -if (url[1]) { - //We have a hash +var url = location.href.split('#'); +if (url[1]) { + //We have a hash var tabHash = url[1]; console.log(tabs, tabHash) - tabs[tabHash](); + tabs[tabHash](); } // main table sorting diff -r c008f1b0cf62 -r 0b86972de820 rhodecode/templates/pullrequests/pullrequest.html --- a/rhodecode/templates/pullrequests/pullrequest.html Tue Oct 09 00:14:14 2012 +0200 +++ b/rhodecode/templates/pullrequests/pullrequest.html Tue Oct 09 00:14:41 2012 +0200 @@ -133,7 +133,7 @@ PullRequestAutoComplete('user', 'reviewers_container', _USERS_AC_DATA, _GROUPS_AC_DATA); var other_repos_info = ${c.other_repos_info|n}; - + var loadPreview = function(){ YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display','none'); var url = "${h.url('compare_url', @@ -150,18 +150,18 @@ var select_ref_data = select_ref.value.split(':'); var key = null; var val = null; - + if(select_ref_data.length>1){ key = select_ref.name+"_type"; val = select_ref_data[0]; url = url.replace(key,val); rev_data[key] = val; - + key = select_ref.name; val = select_ref_data[1]; url = url.replace(key,val); rev_data[key] = val; - + }else{ key = select_ref.name; val = select_ref.value; @@ -175,7 +175,7 @@ // replace the