Commit Graph

13 Commits

Author SHA1 Message Date
Javi Martín
94d4e1db1e Use render template: instead of render file:
We did a similar change in commit 47925fbab, and we were getting a
warning in Rails 6.0:

DEPRECATION WARNING: render file: should be given the absolute path to a
file

Since using `render file:` would ignore views in custom folders, we're
using `render template:` instead.
2022-03-21 20:43:50 +01:00
Javi Martín
6b1864fbcd Sanitize translations instead of using _html
Using the `_html` suffix in an i18n key is the same as using `html_safe`
on it, which means that translation could potentially be used for XSS
attacks.
2019-10-09 19:46:47 +02:00
taitus
aa908d8d60 Add progress tab as initial page on Dashboard. 2019-02-02 14:49:28 +01: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
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
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
Juan Salvador Pérez García
29cf7d9f46 Addressed preview comments 2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
ff03db3c14 Fixes #153
Preview proposal after its creation
2018-07-17 17:49:42 +02:00
Juan Salvador Pérez García
212c088d35 Implements #144
Creates the basic layout for the dashboard
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
77dd60427d Implements story #136
Adds draft state for proposals
2018-07-17 17:46:54 +02:00