Julian Herrero
dbe99f058e
Use double quotes in app/views/shared
2019-03-19 12:16:50 +01:00
Julian Herrero
7fe6285fe3
Use double quotes in app/views/proposals
2019-03-19 12:16:50 +01:00
Julian Herrero
129a258f19
Use double quotes in app/views/moderation
2019-03-19 12:16:50 +01:00
Julian Herrero
0e0462368b
Use double quotes in app/views/management
2019-03-19 12:16:50 +01:00
Julian Herrero
2b83be1c7c
Use double quotes in app/views/legislation
2019-03-19 12:16:50 +01:00
Julian Herrero
25ed245689
Use double quotes in app/views/layouts
2019-03-19 12:16:50 +01:00
Julian Herrero
b78ff808c1
Use double quotes in app/views/debates
2019-03-19 12:16:50 +01:00
Julian Herrero
c87267d34f
Use double quotes in app/views/budgets
2019-03-19 12:16:50 +01:00
Julian Herrero
0bb2633c7a
Use double quotes in app/views/admin
2019-03-19 12:16:50 +01:00
Julian Herrero
c32a98be10
Use double quotes in app/views/admin/site_customization
2019-03-19 12:16:50 +01:00
Julian Herrero
e63a862882
Use double quotes in app/views/admin/poll
2019-03-19 12:16:50 +01:00
Julian Herrero
7b4b4b716c
Use double quotes in app/views/admin/legislation
2019-03-19 12:16:50 +01:00
Julian Herrero
5bfc9add78
Use double quotes in app/views/admin/budget
2019-03-19 12:16:50 +01:00
Julian Nicolas Herrero
4d6ddd2bb3
Merge pull request #3362 from consul/double_quotes_for_models
...
Change single quotes to double quotes for models
2019-03-19 12:14:31 +01:00
Julian Nicolas Herrero
af55366e57
Merge pull request #3360 from consul/double_quotes_for_controllers
...
Change single quotes to double quotes for controllers
2019-03-19 12:13:07 +01:00
Julian Herrero
18bd2c7de8
Refactor (improve readability)
2019-03-15 09:55:12 +01:00
Julian Herrero
87be6f302c
Add default site customization pages
...
From now on these static pages:
`/privacy'
`/conditions'
`/accesibility'
`/help/faq'
`/welcome'
have been moved to the DB and can be modified easily by any
administrator in `/admin/site_customization/pages'
2019-03-14 18:35:51 +01:00
Julian Herrero
3ba961a2d7
Use double quotes in models
2019-03-14 17:25:43 +01:00
decabeza
88cae1424e
Add missing mobile social share message
2019-03-14 11:32:14 +01:00
decabeza
2d166cdeca
Replace spaces to %20 on whatsapp share url
...
This avoid have an invalid href with spaces.
2019-03-14 11:31:40 +01:00
decabeza
e2e29cd9bc
Replace summary to title on proposals social share message
2019-03-14 11:31:37 +01:00
decabeza
be8f2dca88
Remove unnecessary anchor link for finished budgets
2019-03-14 11:31:33 +01:00
decabeza
df68822111
Improve color contrast on leaflet map
2019-03-14 11:31:28 +01:00
decabeza
f7e327af09
Change label for search text
...
Label wraps input field to prevent error on missing label (hidden by CSS).
2019-03-14 11:31:21 +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
5d62ab71ff
Add missing tr tags on users views
2019-03-14 11:30:59 +01:00
Julian Herrero
d24376f6ad
Use double quotes in controllers/
2019-03-13 22:19:49 +01:00
Alberto
3c313c9c52
Merge pull request #3334 from consul/admin-polish
...
Improve UX on admin section
2019-03-13 17:15:22 +01:00
decabeza
b31b65f246
Add link to proposal if question was created from a proposal
2019-03-13 15:35:31 +01:00
decabeza
a2eea842cb
Improve i18n on admin
2019-03-13 15:34:50 +01:00
decabeza
000819e928
Move create question to admin poll questions
...
Also move question actions to admin polls questions
2019-03-13 15:33:14 +01:00
decabeza
83e8d6035a
Remove questions link on admin polls menu
2019-03-13 13:33:49 +01:00
decabeza
74958fab02
Always show create question button on admin proposal show
2019-03-13 13:28:12 +01:00
decabeza
528a4b6e8e
Add default colours to admin banners
2019-03-13 13:17:42 +01:00
Alberto
1f9ebbc749
Merge pull request #3340 from consul/unfeasible-investment
...
[Backport] Show unfeasible budget investment messages only when valuation finished
2019-03-12 11:09:44 +01:00
Juanjo Bazán
26d1024cfc
Add cumulative totals to admin poll recounts list
...
This commit backports commit AyuntamientoMadrid@90638672 and the changes
that code has been through:
* AyuntamientoMadrid@03371a71 removed daily recounts in the controller
* AyuntamientoMadrid@fe3492a7 removed daily recounts in the view
* AyuntamientoMadrid@aa59d995 replaced FinalRecount with TotalResult
* AyuntamientoMadrid@c40e8d79 replaced TotalResult with Recount
2019-03-07 02:09:17 +01:00
rgarcia
151239924b
Display 'validate document' menu item only when applicable
...
We are trying to avoid Officers from forgetting to click the “Confirm
vote” button, which is necessary to keep track of who has voted a Poll
To do that, we are not displaying the menu item to go back to the next
person that wants to vote, until the Officer clicks the “Confirm Vote”
button or the “The user has decided not to vote” button
Note: Due to mobile version we have duplicate ids, so using classes for
the menu items to hide them without errors
Note2: We are only hidding the menu item, if there are votable polls,
otherwise the “Confirm vote” button does not appear, and there is no
way of going back to help the next person that wants to vote
2019-03-06 18:33:07 +01:00
rgarcia
8125d470de
Add methods to obtain polls votable by a user
2019-03-06 17:42:46 +01:00
decabeza
05e4c344f2
Improve feed image styles and move image to right
2019-03-06 13:08:35 +01:00
decabeza
0e1bf2188c
Remove unused verification offices url setting
2019-03-06 13:08:35 +01:00
decabeza
4641314bda
Reorder admin menu
2019-03-06 13:08:35 +01:00
Javi Martín
b27855c1cf
Use double quotes in CoffeeScript files
...
As we do in the rest of the application.
Note we cannot add a rule enforcing double quotes because CoffeeScript
Lint does not have such rule.
2019-03-06 11:41:21 +01:00
Javi Martín
9e80c75032
Use string interpolation in CoffeeScript
...
We use it in Ruby, and it will make it easier to change all quotes to
double quotes in CoffeeScript files.
2019-03-06 11:41:21 +01:00
Javier Martín
cbc6ce44de
Merge pull request #3338 from consul/backport-coffeelint
...
Add CoffeeLint rules
2019-03-06 11:40:17 +01:00
Julian Nicolas Herrero
2f84d17cc9
Merge pull request #3155 from jaflutz/2824-options-display-results-polls
...
Enable options to show stats and results with any type of voter
2019-03-06 11:14:54 +01:00
decabeza
55a2bcb559
Show unfeasible budget investment messages only when valuation finished
2019-03-06 10:46:03 +01:00
Javi Martín
a6a6d50ac1
Remove trailing whitespaces
2019-03-05 21:50:13 +01:00
Javi Martín
5d30ea8835
Fix spacing after comma
2019-03-05 21:50:13 +01:00
Javi Martín
9deed3f39d
Fix inconsistent indenation in CoffeeScript files
...
We always use two spaces as indentation.
2019-03-05 21:50:13 +01:00
Javi Martín
a03c68c1e5
Remove trailing newlines in CoffeeScript files
2019-03-05 21:49:32 +01:00