Commit Graph

290 Commits

Author SHA1 Message Date
Juanjo Bazán
d9d5e24a8b updates options for admin officials level 2015-08-17 18:27:18 +02:00
Juanjo Bazán
a13f4920a1 adds Settings 2015-08-17 18:13:30 +02:00
Juanjo Bazán
fabcb42328 adds edition/management of officials to admin zone 2015-08-17 17:04:29 +02:00
Juanjo Bazán
af3e356b88 dries layout admin views
moves common <div class='left'> to layout
2015-08-17 15:22:50 +02:00
Juanjo Bazán
d758958b9b removes layout from admin tags controller
layout is inherited from admin base controller
2015-08-17 15:22:50 +02:00
Juanjo Bazán
8390165ba8 adds official scope 2015-08-17 15:22:49 +02:00
Juanjo Bazán
e29ae67f31 adds methods to add/remove official position 2015-08-17 15:22:49 +02:00
Juanjo Bazán
d80fd8e468 adds official? method to User 2015-08-17 15:22:49 +02:00
Juanjo Bazán
4a8825cf11 Merge pull request #184 from AyuntamientoMadrid/add_subnavigation
Adds sub navigation menu
2015-08-17 15:21:53 +02:00
Juanjo Bazán
94879fbccb adds admin_header partial 2015-08-17 15:18:51 +02:00
Juanjo Bazán
0c86882d0d adds proper active class to header subnav links 2015-08-17 15:13:10 +02:00
Juanjo Bazán
74742d5f76 adds i18n to deleted comments 2015-08-17 14:08:59 +02:00
rgarcia
f31ed2940d adds moderation to comments and debates [#136] 2015-08-17 13:39:31 +02:00
Alberto Garcia Cabeza
9f1f64cc3a Adds sub navigation menu 2015-08-17 12:31:05 +02:00
rgarcia
9abe303b31 removes unused method 2015-08-16 23:05:01 +02:00
rgarcia
efa0cf16d9 uses comment strong parameters 2015-08-16 23:05:01 +02:00
rgarcia
bea38226fe fixes spacing 2015-08-16 22:45:43 +02:00
rgarcia
a81612b226 improves consistency of error messages [#110] 2015-08-16 15:57:09 +02:00
Juanjo Bazán
aeceaf9ea8 fixes bug: edit Debate was not validating captcha 2015-08-15 23:51:30 +02:00
Juanjo Bazán
8cb654092b Merge pull request #176 from dgilperez/issue-172
Adds CRUD for tags to admin section and featured tags support for debates
2015-08-15 22:00:37 +02:00
David Gil
308d71e517 remove unused method 2015-08-15 20:05:33 +02:00
David Gil
a4ec38d752 adds create and destroy to the tags CRUD 2015-08-15 20:01:52 +02:00
David Gil
664f656fe3 tests featured tags administration and adding featured tags to debates 2015-08-15 19:38:42 +02:00
David Gil
8b89cc5117 adds some js to click-and-add tags to the debate's tag list input 2015-08-15 18:57:27 +02:00
Juanjo Bazán
c909db4022 Merge pull request #175 from AyuntamientoMadrid/refactoring
Refactoring
2015-08-15 18:53:01 +02:00
David Gil
1de941d1fa adding featured tags list to debate form 2015-08-15 18:36:10 +02:00
David Gil
0a4aafd8de scaffolds a tag list to mark tags as featured on the admin section 2015-08-15 18:22:29 +02:00
rgarcia
9f2d60c4ce refactors voted debates 2015-08-15 14:57:41 +02:00
rgarcia
4751954377 refactors debate search 2015-08-15 14:57:04 +02:00
Alberto Garcia Cabeza
09d71ad84f Merge branch 'master' into improving_debates
Conflicts:
	app/assets/stylesheets/debates.scss
	app/assets/stylesheets/participacion.scss
2015-08-15 01:45:56 +02:00
Alberto Garcia Cabeza
3ab3285ce4 Cleans scss files 2015-08-15 01:20:26 +02:00
Alberto Garcia Cabeza
510a5c8332 Improves styles for tag cloud 2015-08-15 01:13:55 +02:00
Alberto Garcia Cabeza
4d8b0a01ce Includes count number of comments on debate show 2015-08-15 01:13:34 +02:00
Alberto Garcia Cabeza
26e2a7bcbb Cleans style guide 2015-08-15 01:05:46 +02:00
Alberto Garcia Cabeza
f98510cea7 Improves styles for simple captcha 2015-08-15 01:05:00 +02:00
Alberto Garcia Cabeza
feb85c2aea Adds blog link on header 2015-08-15 00:58:45 +02:00
Alberto Garcia Cabeza
7f2897aef4 Removes unused images 2015-08-15 00:57:41 +02:00
Alberto Garcia Cabeza
a255d15793 Updates custom icons fonts 2015-08-15 00:56:58 +02:00
Alberto Garcia Cabeza
468e8c2f39 Removes unused lato fonts 2015-08-15 00:56:00 +02:00
Alberto Garcia Cabeza
b37279c8e7 Replaces Roboto font with Open Sans 2015-08-15 00:55:30 +02:00
Juanjo Bazán
7919460554 removes comment 2015-08-14 23:41:00 +02:00
David Gil
994774ec65 prevents for Comments.initialize to be called twice causing unexpected behaviour in forms, when initialize_modules is called on ajax:complete 2015-08-14 21:23:06 +02:00
David Gil
2b16716ee1 add author-photo css class to author avatar 2015-08-14 21:16:53 +02:00
David Gil
d870706a26 rename css class 2015-08-14 21:16:53 +02:00
David Gil
9d4a3b08d7 use initialjs-rails instead our own copy of initial.js and view helper 2015-08-14 21:16:53 +02:00
David Gil
65998070cc initialize user avatars on ajax:complete for comments to show correctly after create 2015-08-14 21:15:59 +02:00
David Gil
2f41341ca8 cleanup 2015-08-14 21:15:59 +02:00
David Gil
bf95e55345 more explicit and versatile usage of avatar_image, changing style option by a direct size - asuming we will always use square images 2015-08-14 21:15:59 +02:00
David Gil
925921d605 adding initial.js to show Gmail-like user avatars; adding avatar_image helper to abstract from plugin options adding the two currently used styles, profile and small 2015-08-14 21:15:59 +02:00
rgarcia
101477c7da refactors admin layout 2015-08-14 13:33:30 +02:00