##// END OF EJS Templates
white space cleanup
marcink -
r2207:17ff5693 beta
parent child Browse files
Show More
@@ -66,10 +66,10 b' class SettingsController(BaseController)'
66 def __before__(self):
66 def __before__(self):
67 c.admin_user = session.get('admin_user')
67 c.admin_user = session.get('admin_user')
68 c.admin_username = session.get('admin_username')
68 c.admin_username = session.get('admin_username')
69 c.modules = sorted([(p.project_name, p.version)
69 c.modules = sorted([(p.project_name, p.version)
70 for p in pkg_resources.working_set])
70 for p in pkg_resources.working_set])
71 c.py_version = platform.python_version()
71 c.py_version = platform.python_version()
72 c.platform = platform.platform()
72 c.platform = platform.platform()
73 super(SettingsController, self).__before__()
73 super(SettingsController, self).__before__()
74
74
75 @HasPermissionAllDecorator('hg.admin')
75 @HasPermissionAllDecorator('hg.admin')
@@ -284,4 +284,3 b' class SimpleGit(BaseVCSController):'
284 log_push_action(ui=baseui, repo=repo)
284 log_push_action(ui=baseui, repo=repo)
285 elif action == 'pull' and _hooks.get(pull_hook):
285 elif action == 'pull' and _hooks.get(pull_hook):
286 log_pull_action(ui=baseui, repo=repo)
286 log_pull_action(ui=baseui, repo=repo)
287
@@ -406,4 +406,3 b' def extract_mentioned_users(s):'
406 usrs.add(username)
406 usrs.add(username)
407
407
408 return sorted(list(usrs), key=lambda k: k.lower())
408 return sorted(list(usrs), key=lambda k: k.lower())
409
@@ -11,4 +11,4 b' from mercurial.localrepo import localrep'
11 from mercurial.match import match
11 from mercurial.match import match
12 from mercurial.mdiff import diffopts
12 from mercurial.mdiff import diffopts
13 from mercurial.node import hex
13 from mercurial.node import hex
14 from mercurial.encoding import tolocal No newline at end of file
14 from mercurial.encoding import tolocal
@@ -44,7 +44,7 b" YUE.on('mark_all_read','click',function("
44 ypjax(url,'notification_data',function(){
44 ypjax(url,'notification_data',function(){
45 var notification_counter = YUD.get('notification_counter');
45 var notification_counter = YUD.get('notification_counter');
46 if(notification_counter){
46 if(notification_counter){
47 notification_counter.innerHTML=0;
47 notification_counter.innerHTML=0;
48 }
48 }
49 YUE.on(YUQ('.delete-notification'),'click',function(e){
49 YUE.on(YUQ('.delete-notification'),'click',function(e){
50 var notification_id = e.currentTarget.id;
50 var notification_id = e.currentTarget.id;
@@ -218,7 +218,7 b''
218 <div id="expand_modules_table" style="display:none">
218 <div id="expand_modules_table" style="display:none">
219 <h5>Python - ${c.py_version}</h5>
219 <h5>Python - ${c.py_version}</h5>
220 <h5>System - ${c.platform}</h5>
220 <h5>System - ${c.platform}</h5>
221
221
222 <table class="table" style="margin:0px 0px 0px 20px">
222 <table class="table" style="margin:0px 0px 0px 20px">
223 <colgroup>
223 <colgroup>
224 <col style="width:220px">
224 <col style="width:220px">
@@ -232,15 +232,15 b''
232 %endfor
232 %endfor
233 </tbody>
233 </tbody>
234 </table>
234 </table>
235 </div>
235 </div>
236 </div>
236 </div>
237
237
238 <script type="text/javascript">
238 <script type="text/javascript">
239 YUE.on('expand_modules','click',function(e){
239 YUE.on('expand_modules','click',function(e){
240 YUD.setStyle('expand_modules_table','display','');
240 YUD.setStyle('expand_modules_table','display','');
241 YUD.setStyle('expand_modules','display','none');
241 YUD.setStyle('expand_modules','display','none');
242 })
242 })
243 </script>
243 </script>
244
244
245 </div>
245 </div>
246 </%def>
246 </%def>
General Comments 0
You need to be logged in to leave comments. Login now