Senén Rodero Rodríguez
bd3bb72370
Add proposals translation interface
...
* Convert proposal form into translatable one.
* Adapt translatable shared spec to define an owner when running at
frontend feature specs.
* Remove old attributes from strong parameters.
2019-06-27 09:19:37 +02:00
Senén Rodero Rodríguez
02be0c61f9
Add proposal translations
...
Adapt retire form to include needed translations and move validations
from controller to model.
Also change sanitizable concern to sanitize not marked for destruction
translations.
2019-06-27 09:19:36 +02:00
German Galia
9d1ca3bfd4
Report generation. Download csv
2019-06-12 10:17:31 +02:00
decabeza
19867836f8
Extract partial with mobile sticky content
2019-06-04 17:29:31 +02:00
decabeza
7ed80d7883
Move link to selected proposals on proposals index
2019-05-31 12:24:10 +02:00
Julian Herrero
4be4d96710
Don't show order links in selected proposals list
2019-05-30 11:19:38 +02:00
Julian Herrero
6e905c517f
Don't show recommented proposals in selected proposals list
2019-05-30 11:19:38 +02:00
Julian Herrero
dfe3764616
Don't show featured proposals in selected proposals list
2019-05-30 11:19:38 +02:00
Julian Herrero
5952c2664d
Show a 'Selected proposal' message in the show view
2019-05-30 11:19:38 +02: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
db774e3fd2
Extract proposal supports progress bar to a partial
2019-05-30 11:19:38 +02:00
Julian Herrero
b68a872298
Change links for proposals lists
...
Changed applied:
- Remove Archived proposals from tab and add a link under Proposals
lists
- Remove Popular proposals link from custom section and add it to the
Proposals lists
- Remove Retired proposals link from custom section and add it to the
Proposals lists
- Remove Selected proposals link from custom section and add it to the
Proposals lists
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
Julian Herrero
0237565ece
Set correct attributes for data-sticky component
2019-05-22 12:41:25 +02:00
decabeza
8684835857
Adds sticky on proposals supports for mobile version
2019-05-22 12:40:12 +02:00
lalo
71f750ca9d
Refactor embedded_video_code method to use it with other models
2019-05-14 18:34:50 +02:00
decabeza
f40787561d
Remove all references to question and external_url fields
2019-04-30 16:42:07 +02:00
decabeza
0995480b73
Remove question and external_url fields from proposals
2019-04-30 11:35:47 +02:00
decabeza
2af154d539
Merge branch 'master' into proposal-dashboard
2019-03-28 01:26:04 +01:00
decabeza
91be3cf775
Fix more hound warnings
2019-03-27 15:22:14 +01:00
decabeza
eda6ea7f12
Merge branch 'master' into dashboard
2019-03-26 16:45:48 +01: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
88cae1424e
Add missing mobile social share message
2019-03-14 11:32:14 +01:00
decabeza
e2e29cd9bc
Replace summary to title on proposals social share message
2019-03-14 11:31:37 +01:00
decabeza
cfe034d401
Show proposal question only if it is present
...
This prevent render an empty <h4> tag.
2019-03-14 11:31:12 +01:00
decabeza
25c8212e80
Remove proposal improvement path setting
2019-02-19 11:07:58 +01:00
Alberto
938d5eba43
Merge pull request #3191 from consul/ui-i18n-details
...
Fix i18n and UI minor details
2019-02-13 10:55:03 +01:00
decabeza
b4ecd07f1f
Refactor social share messages
2019-02-11 15:41:35 +01:00
taitus
aa908d8d60
Add progress tab as initial page on Dashboard.
2019-02-02 14:49:28 +01:00
decabeza
045c4eca64
Allow change map image from admin site customization
...
Also adds on site customization image.rb jpeg content type to allow replace this image.
2019-01-24 14:55:01 +01:00
decabeza
5a027f3a0a
Removes create question button on proposals index and show
2018-12-19 13:55:00 +01:00
Javi Martín
1ff6390950
Fix proposal info rendering for managers
...
We were looking for the partial in management/proposals/info instead of
proposals/info.
2018-12-12 13:43:03 +01:00
Javi Martín
2fcbee6261
Manage proposal milestones
2018-12-11 20:09:47 +01:00
Javi Martín
8c45be7887
Show proposal info in admin
2018-12-11 20:09:30 +01:00
decabeza
ab70872a7d
Adds new social share partial for proposals
2018-10-31 11:42:00 +01:00
decabeza
546105d989
Merge branch 'master' into dashboard-master
2018-10-19 01:48:37 +02: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
7a92df8de5
Updates is-active class for view mode
2018-10-18 18:14:39 +02:00
decabeza
dbf41421ed
Removes guide feature
2018-10-17 14:58:29 +02:00
decabeza
fcb6e67ced
Adds styles to proposals views
2018-10-05 18:10:10 +02:00
Juan Salvador Pérez García
42d448248c
Routes have been refactored
...
Dashboard routes have been refactored. Now instead of having resources
for dashboard and routes inside a dashboard namespace the proposal
routes contain a dashboar singleton containing everything related to it.
2018-09-17 15:44:45 +02:00
Juan Salvador Pérez García
e61eba4e97
locale key containing html has been renamed
...
locale key containing html has been renamed. Now it has the preffix:
_html.
2018-09-17 09:11:09 +02:00
decabeza
71d45093b6
Removes custom content on proposals
2018-07-30 19:35:12 +02:00
decabeza
52fa9d27ac
Removes custom content on index views pages
2018-07-30 17:55:56 +02:00
Juan Salvador Pérez García
4378331ece
Fixes #188
...
shows draft state in proposals highlighted.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
303584a06e
Show will be reused in preview
...
Show view will be reused when a preview is required
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
47a055ea48
Use time.current instead of Time.now
...
Use time.current instead of Time.now in order to avoid flakies.
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
e90f5f1ba4
can? helper called with parenthesis
...
can? helper called with parenthesis
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
67de187bae
t helper invoked with parenthesis
...
t helper is invoked with parenthesis
2018-07-17 17:53:18 +02:00