Alberto Garcia Cabeza
0bda3fefad
Adds alerts message for flag debates
2015-09-07 16:37:58 +02:00
Alberto Garcia Cabeza
101a50a96e
Improves layout styles
2015-09-07 16:36:33 +02:00
kikito
75c9e87357
Changes views so that administrators can see the debate moderation actions
2015-09-07 15:57:45 +02:00
Juanjo Bazán
69cb070ce2
adds user's votes info to cache keys
2015-09-07 13:18:30 +02:00
rgarcia
13cf1d9449
removes all comments cache
2015-09-07 10:55:23 +02:00
Raimond Garcia
5b671ce623
Merge pull request #387 from AyuntamientoMadrid/improve_design
...
Improve design
2015-09-07 01:08:58 +02:00
Alberto Garcia Cabeza
2aac7b413c
Improves styles for index, header and footer
2015-09-07 00:17:21 +02:00
Juanjo Bazán
bf18da3faa
adds cache for authors of debate/comment
2015-09-06 22:03:31 +02:00
Juanjo Bazán
ca8c445404
removes close button from alert for no-logged user
2015-09-06 20:40:11 +02:00
Álvaro Durán Tovar
92ae988251
adds close button to alert boxes, also adds
...
data-alert attribute to enable javascript
on them
2015-09-06 19:54:12 +02:00
Juanjo Bazán
31b00c32f4
removes unneeded to_a
2015-09-06 12:25:47 +02:00
Juanjo Bazán
60089b8986
uses author info in comment/debate cache
...
author is already preloaded and we avoid expensive touching methods
2015-09-06 12:13:39 +02:00
rgarcia
5200d76be6
caches comments
2015-09-05 22:02:51 +02:00
rgarcia
93378eea98
caches debates show
2015-09-05 22:02:50 +02:00
Juanjo Bazán
b020795d3d
adds search to debates index
2015-09-05 15:20:46 +02:00
Alberto Garcia Cabeza
54eeff41b7
Adds search form to sidebar
2015-09-05 14:01:59 +02:00
Alberto Garcia Cabeza
83b44fd53a
Improves layout, adds link to checkbox's label
2015-09-05 00:34:18 +02:00
Alberto Garcia Cabeza
128a2bc956
Updates some texts
2015-09-04 20:42:02 +02:00
kikito
55c48e3719
Fixes randomly-failing travis specs
...
The problem was that after changing page with the selects, capybara
needs to “find something which has changed on the page” in order to
“wait”. The “have_selects” did not wait because they did not change
(you change them, then the page changes, and they stay the same)
2015-09-04 17:44:32 +02:00
Raimond Garcia
d62b30c487
Merge pull request #353 from AyuntamientoMadrid/hot-score-347
...
Hot score 347
2015-09-04 17:24:42 +02:00
Alberto Garcia Cabeza
a75cbefe8d
Styles for header,footer,filters, alerts and pages
2015-09-04 15:19:50 +02:00
Alberto Garcia Cabeza
e0959f3e28
Improves account checkboxes and edit debate button
2015-09-04 15:07:41 +02:00
kikito
9f970568ac
Displays debate.created_at in debates#index
2015-09-04 12:16:11 +02:00
Enrique García
858adf891f
Merge pull request #346 from AyuntamientoMadrid/ancestry
...
Ancestry
2015-09-03 17:19:08 +02:00
Juanjo Bazán
05a647f9e7
Merge pull request #345 from AyuntamientoMadrid/improve_styles
...
Improve styles
2015-09-03 16:43:10 +02:00
Juanjo Bazán
358028c3e6
Fixes conflicts. Merge branch 'master' into ancestry
2015-09-03 16:37:28 +02:00
Juanjo Bazán
136c1e73ed
uses ancestry to retrieve debate comments
2015-09-03 16:32:54 +02:00
Alberto Garcia Cabeza
f20192d9d7
Improves styles for debates
2015-09-03 14:15:45 +02:00
Juanjo Bazán
572432f2cf
Merge pull request #339 from AyuntamientoMadrid/remove-tag-filter-337
...
Remove tag filter
2015-09-03 11:50:53 +02:00
kikito
002d86884b
Removes the tag selector from debate#index view & refactors i18n
2015-09-03 11:15:05 +02:00
Alberto Garcia Cabeza
7fefcb692e
Changes and updates texts
2015-09-02 23:43:08 +02:00
Juanjo Bazán
eb689d7c7e
refactors comment form
2015-09-02 17:22:21 +02:00
Juanjo Bazán
31a8c15344
removes redundant condition
2015-09-02 12:57:09 +02:00
Juanjo Bazán
8915ce7ffd
adds interface to disallow organizations votes
...
on debates
2015-09-02 12:16:55 +02:00
rgarcia
587749782d
hot fix for anonymous votes
2015-09-01 22:56:27 +02:00
Juanjo Bazán
ac7ad1d863
hides 'too many anonymous votes' layer
2015-09-01 17:49:03 +02:00
Juanjo Bazán
9f4a98d3a0
moves translation keys
2015-09-01 17:49:02 +02:00
Alberto Garcia Cabeza
bcc58ab0c4
Adds styles for too much anonymous votes
2015-09-01 17:49:02 +02:00
Alberto Garcia Cabeza
57e373a7cf
Adds styles for too much anonymous comments
2015-09-01 17:49:02 +02:00
Raimond Garcia
3c665153d4
Merge pull request #300 from AyuntamientoMadrid/flag-helper
...
Flag helper
2015-09-01 15:19:16 +02:00
kikito
9a071d2ed7
Renames @voted_values to @debate_votes in controllers
2015-09-01 13:07:03 +02:00
kikito
005fd4c09a
Replaces can? :flag/:unflag by a helper function
2015-09-01 10:34:46 +02:00
Juanjo Bazán
7246c181d5
adds cache to _debate view
2015-08-31 20:40:48 +02:00
kikito
a7929c607d
adds a helper to simplify the way selects and filters are rendered
2015-08-28 20:07:45 +02:00
kikito
ae98ba3572
merges master and fixes conflicts
2015-08-28 19:57:28 +02:00
Raimond Garcia
b1117dd1af
Merge pull request #275 from mlovic/filter-topic
...
Allow debates to be filtered by topic
2015-08-28 17:41:38 +02:00
Marko Lovic
c11b611b1a
Combine debates topic and order filters
2015-08-28 17:23:36 +02:00
kikito
088144dcd1
Refactor debates order select using js-location-changer
2015-08-28 17:17:21 +02:00
Marko Lovic
e35550dafa
Remove order_selector partial
...
Most of the logic was pulled out into DebatesHelper so having
the partial no longer makes sense.
2015-08-28 15:43:09 +02:00
Marko Lovic
4285ba4bb3
Add tag filter to debates page
2015-08-28 12:41:10 +02:00