Commit Graph

37 Commits

Author SHA1 Message Date
kikito
d300bb6bcb Refactors order_selector
Moves the information about the current order to the selector, not to
the container
2015-09-12 16:48:41 +02:00
kikito
1caf6348a9 Extract HasOrders + partial from DebatesController 2015-09-12 16:48:41 +02:00
Raimond Garcia
050ae1265c Merge pull request #470 from AyuntamientoMadrid/filter-to-first-page-445
filters reset to page 1. Fixes #445
2015-09-11 16:41:58 +02:00
Alberto Garcia Cabeza
d364d1bf7e Fixes styles for search results and filters 2015-09-11 13:58:33 +02:00
kikito
1f28e97c2e filters reset to page 1. Fixes #445 2015-09-11 13:04:43 +02:00
Alberto Garcia Cabeza
5dbea69586 Improves pages, debates list, mobile version 2015-09-10 19:28:46 +02:00
Alberto Garcia Cabeza
57682e8111 Updates header styles, moves search form to header 2015-09-10 17:22:11 +02:00
Alberto Garcia Cabeza
2aac7b413c Improves styles for index, header and footer 2015-09-07 00:17:21 +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
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
Alberto Garcia Cabeza
a75cbefe8d Styles for header,footer,filters, alerts and pages 2015-09-04 15:19:50 +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
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
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
Marko Lovic
2d48966de3 Change variable name and references from "filter" to "order" 2015-08-27 15:24:59 +02:00
Marko Lovic
ccaca54816 Add filters to specify order of debates#index 2015-08-27 15:24:59 +02:00
Alberto Garcia Cabeza
ff6285d114 Improves general styles 2015-08-21 18:57:09 +02:00
Juanjo Bazán
947514fbfc adds pagination to debates#index
Ref: #80
2015-08-19 16:30:25 +02:00
Alberto Garcia Cabeza
4b59105be5 Adds filters for topics 2015-08-17 15:00:59 +02:00
Alberto Garcia Cabeza
43f8db8e3a Adds styles for titles and filters 2015-08-17 14:53:00 +02:00
Alberto Garcia Cabeza
ea5612c5bd Modifies styles welcome and debates index 2015-08-12 15:27:28 +02:00
rgarcia
4dd7e14ac4 moves featured debates to home page 2015-08-11 17:26:25 +02:00
Alberto Garcia Cabeza
77ecf39852 Updates styles for debates index 2015-08-06 11:19:37 +02:00
Juanjo Bazán
a2ea42d13d adds first 3 debates as featured_debates 2015-08-04 18:41:09 +02:00
Juanjo Bazán
c3046ccc2b fixes build
adds empty featured_debates
2015-08-04 17:56:38 +02:00
Alberto Garcia Cabeza
4344bc121f Changes styles for debates index and debate show 2015-08-04 13:25:00 +02:00
Alberto García Cabeza
c2c176db75 Improves styles for debates home 2015-07-27 21:20:20 +02:00
Alberto García Cabeza
f4c7b0edda Includes first styles for header and debates 2015-07-26 23:14:43 +02:00
rgarcia
e20af8ab06 adds tag cloud [#8] 2015-07-18 17:24:30 +02:00
rgarcia
be342cac76 Basic CRU operations [#5] 2015-07-16 19:22:20 +02:00