Senén Rodero Rodríguez
37695cd262
Add the geozone name to the proposal partial when there are geozones defined
...
As we have links pointing to a search by geozone name I
think we should show somewhere the geozone where the
proposal belongs.
2023-06-14 19:07:05 +02:00
taitus
af00dd94db
Unify the order in which we display information
...
In the rest of the similar sections of the application we show the date first
and then the information of the comments.
2022-08-19 15:40:51 +02:00
taitus
2865ee286f
Add comments count component
...
Remove all the translations that are left over after having unified them
in the component.
2022-08-19 15:40:51 +02:00
taitus
a32e249919
Remove after icon-comments
...
At some other time we will try to remove all the
For now we start with what we added after the comments icon.
2022-08-19 14:25:30 +02:00
Javi Martín
091abfc944
Use Active Storage to render attachments
...
This way we fix a bug we mentioned in commit 930bb753c which caused
links to documents to be broken when editing their title because the
title was used to generate the URL of the document.
Note we're still using Paperclip to render cached attachments because
this is the only case where we store files with just Paperclip and not
Active Storage.
With Active Storage, we render attachments just like any other resource,
using `polymorphic_path`. Paperclip included the `url` method in the
model; since the model doesn't have access to the request parameters
(like the host), this was inconvenient because it wasn't possible to
generate absolute URLs with Paperclip.
In order to simplify the code and make it similar to the way we used
Paperclip, we're adding a `variant` method accepting the name of a
variant and returning the variant.
2022-02-23 18:21:38 +01:00
Javi Martín
4b42a68b6a
Use the vote action to vote featured proposals
...
The action and the views were almost identical, with the supports
progress and the HTML classes of the success message element being the
only exceptions; we can use CSS for the styles instead.
2022-02-21 18:47:13 +01:00
Julian Herrero
6beb11f0a9
Show completed progress bar for successful proposals
...
Show a completed progress bar with total supports intead of showing
a message telling the proposal has reached the needed supports.
2019-05-30 11:19:38 +02:00
Julian Herrero
ad5f7a06e1
Allow admins to select proposals and users to list them
2019-05-30 11:19:33 +02:00
Javi Martín
3e4e65ead7
Use double quotes inside ERB
...
We were using single quotes inside ERB code when that code was inside
HTML double quotes.
2019-03-25 14:58:54 +01:00
Julian Herrero
7fe6285fe3
Use double quotes in app/views/proposals
2019-03-19 12:16:50 +01:00
decabeza
5a027f3a0a
Removes create question button on proposals index and show
2018-12-19 13:55:00 +01:00
decabeza
8964888711
Removes condition to allow images and data equalizer on proposals
...
The proposal image only can be present if feature :allow_images is enabled, so there is no need to include both conditions. The data-equalizer also is unnecessary because the :thumb image already has an fix height.
2018-10-18 18:40:58 +02:00
decabeza
71d45093b6
Removes custom content on proposals
2018-07-30 19:35:12 +02:00
decabeza
725c282ba5
Adds unicode_normalize for alt and title on images
2018-04-27 18:24:17 +02:00
decabeza
39def428b5
improves layout for items list with images
2017-12-06 21:00:34 +01:00
decabeza
c32a70d2a9
improves css for items on list with images
2017-10-03 13:57:01 +02:00
decabeza
8aaa0cb718
adds data equalizer to fix height on items with images
2017-09-28 15:20:00 +02:00
Senén Rodero Rodríguez
ceabd16d57
Refactor. Create index scope inside imageable shared examples to check index action of any imageable model. Add image to proposals index.
2017-09-26 13:55:03 +02:00
decabeza
3d6f75bb59
reverts hide tags on index views
2017-06-08 13:30:12 +02:00
decabeza
10d09686c3
removes tags list on index views
2017-06-05 13:39:42 +02:00
decabeza
c5c9efee16
removes redundant label on index views
2017-06-05 13:12:04 +02:00
Juanjo Bazán
5ec12e4b5b
Merge branch 'master' into redux-polling
2016-12-27 18:22:06 +01:00
Alberto Garcia Cabeza
82a06220b5
removes link on debates and proposals description
2016-12-07 17:31:41 +01:00
Alberto Garcia Cabeza
23d6eb3067
fixes styles when support a proposal
2016-12-07 17:23:30 +01:00
rgarcia
e12f183775
fixes typo
2016-11-19 14:03:10 +01:00
rgarcia
724dac4df2
cherry picks creating poll question from successful proposals
2016-11-18 21:09:28 +01:00
rgarcia
626a8e9154
updates specs for admin poll questions
2016-11-17 21:31:51 +01:00
Alberto Garcia Cabeza
e778c49e64
removes orange blocks and improves contrast on proposals
2016-11-02 16:31:38 +01:00
rgarcia
72e173b8ea
closes missing div
2016-09-16 20:25:12 +02:00
Alberto Garcia Cabeza
910b24936d
Merge branch 'master' into voting-proposals
...
Conflicts:
app/models/proposal.rb
app/views/proposals/_proposal.html.erb
app/views/proposals/index.html.erb
app/views/proposals/show.html.erb
spec/support/common_actions.rb
2016-09-15 13:58:53 +02:00
Alberto Garcia Cabeza
d5af06da5d
Adds proposal's total votes in index/show views
2016-09-12 17:56:15 +02:00
Alberto Garcia Cabeza
e8b70a48fa
Adds tab in index & removes support button in index/show
2016-09-09 17:32:03 +02:00
Alberto Garcia Cabeza
b107790039
Adds links, texts and i18n
2016-09-07 12:46:29 +02:00
rgarcia
9e910a834b
Displays badge for official positions
2016-06-20 21:37:25 +02:00
Alberto Garcia Cabeza
3ec0971b37
Replaces icons i tags for span
2016-03-14 19:32:48 +01:00
Alberto Garcia Cabeza
3752f3a53b
Adds foundation 6 🎉
2016-02-26 19:33:33 +01:00
Juanjo Bazán
403a3ab3f9
adds caching to proposals info fragment in index
2016-02-14 13:27:13 +01:00
Juanjo Bazán
2a286c6b33
shows proposal view inside management layout
2015-10-23 12:56:09 +02:00
kikito
6c5d1faa90
Uses the new field, erased_at, for erased users
2015-10-21 14:28:21 +02:00
rgarcia
a3503c7eb3
refactors manager proposal votes
2015-10-08 14:40:47 +02:00
Alberto Garcia Cabeza
9329531ff4
Adds p tag to proposal summary
2015-09-28 13:46:54 +02:00
Juanjo Bazán
2ffb22a249
Merge pull request #519 from AyuntamientoMadrid/fix-tagcloud-488
...
Fix tagcloud
2015-09-17 17:24:39 +02:00
Alberto Garcia Cabeza
56a72b9118
Adds author name and level on lists
2015-09-16 20:45:02 +02:00
kikito
d324c061b3
Refactors shared/_tags view to always take a param called taggable
2015-09-15 15:28:14 +02:00
rgarcia
6b15ccafe2
adds summary to proposals
2015-09-14 20:07:27 +02:00
rgarcia
3fc4cf0c1b
adds proposal's index
2015-09-12 12:47:28 +02:00