Commit Graph

65 Commits

Author SHA1 Message Date
Juanjo Bazán
a56f1c75d6 changes name to helper methods to signal boolean return 2016-12-08 11:25:50 +01:00
Alberto Garcia Cabeza
7056487f3d improves styles for admin menu 2016-11-30 18:46:35 +01:00
rgarcia
bb3c4c6399 adds consistency to ruby code style
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
rgarcia
fda2f3c89e adds admin submit button helper 2016-11-14 13:56:49 +01:00
rgarcia
1ca821c520 creates polling officers from admin 2016-11-14 13:51:09 +01:00
rgarcia
ec25b388c7 adds filtering of spending proposals by admin 2016-03-01 20:10:57 +01:00
Juanjo Bazán
0325dd6199 refactors settings/flags helper to memoize values 2016-02-04 17:45:43 +01:00
Josep Jaume Rey Peroy
5de3d700e4 Simplify Settings API 2016-01-18 12:43:34 +01:00
kikito
967bfc5b31 Moves the humanize_document_type helper to a new helper file called user 2015-10-02 18:40:56 +02:00
rgarcia
e9e97daf46 displays failed census calls [#500] 2015-09-24 17:21:08 +02:00
Juanjo Bazán
174bd73b89 removes official_level_0_name setting 2015-09-01 20:00:41 +02:00
Juanjo Bazán
d9d5e24a8b updates options for admin officials level 2015-08-17 18:27:18 +02:00
Juanjo Bazán
fabcb42328 adds edition/management of officials to admin zone 2015-08-17 17:04:29 +02:00
rgarcia
101477c7da refactors admin layout 2015-08-14 13:33:30 +02:00
rgarcia
88defaa455 adds admin layout and access links [#163] 2015-08-14 12:37:44 +02:00