comparison rhodecode/controllers/admin/admin.py @ 1203:6832ef664673 beta

source code cleanup: remove trailing white space, normalize file endings
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Apr 2011 18:23:15 +0200
parents 8e49b6ceffe1
children a671db5bdd58
comparison
equal deleted inserted replaced
1202:eef9e273347a 1203:6832ef664673
2 """ 2 """
3 rhodecode.controllers.admin.admin 3 rhodecode.controllers.admin.admin
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 5
6 Controller for Admin panel of Rhodecode 6 Controller for Admin panel of Rhodecode
7 7
8 :created_on: Apr 7, 2010 8 :created_on: Apr 7, 2010
9 :author: marcink 9 :author: marcink
10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> 10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com>
11 :license: GPLv3, see COPYING for more details. 11 :license: GPLv3, see COPYING for more details.
12 """ 12 """
13 # This program is free software; you can redistribute it and/or 13 # This program is free software; you can redistribute it and/or
14 # modify it under the terms of the GNU General Public License 14 # modify it under the terms of the GNU General Public License
15 # as published by the Free Software Foundation; version 2 15 # as published by the Free Software Foundation; version 2
16 # of the License or (at your opinion) any later version of the license. 16 # of the License or (at your opinion) any later version of the license.
17 # 17 #
18 # This program is distributed in the hope that it will be useful, 18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of 19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details. 21 # GNU General Public License for more details.
22 # 22 #
23 # You should have received a copy of the GNU General Public License 23 # You should have received a copy of the GNU General Public License
24 # along with this program; if not, write to the Free Software 24 # along with this program; if not, write to the Free Software
25 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 25 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26 # MA 02110-1301, USA. 26 # MA 02110-1301, USA.
27 27
55 c.users_log = Page(users_log, page=p, items_per_page=10) 55 c.users_log = Page(users_log, page=p, items_per_page=10)
56 c.log_data = render('admin/admin_log.html') 56 c.log_data = render('admin/admin_log.html')
57 if request.params.get('partial'): 57 if request.params.get('partial'):
58 return c.log_data 58 return c.log_data
59 return render('admin/admin.html') 59 return render('admin/admin.html')
60