lalo
d721920b97
Display commenter as admin description or name
2019-06-05 16:19:31 +02:00
lalo
d0e1eff532
Add description field to administrator users like evaluators description
2019-06-05 16:18:12 +02:00
Alberto
a6f8969728
Merge pull request #3577 from consul/proposal-show
...
Extract partial with mobile sticky content
2019-06-05 09:51:45 +02:00
decabeza
19867836f8
Extract partial with mobile sticky content
2019-06-04 17:29:31 +02:00
Julian Herrero
220bfb065a
Add images and documents settings to admin panel
2019-06-04 11:47:22 +02:00
Julian Herrero
b4e8395bd6
Extract settings forms to partials
2019-06-04 11:39:40 +02:00
lalo
c538d08fee
Display public investment view on admin and valuator pages as preview
2019-06-04 09:30:51 +02:00
Javi Martín
dadbf873ba
Order translations using ruby
...
Joining the translations table caused duplicate records to appear.
Ordering with SQL is simply too hard because we need to consider
fallback locales.
Thanks Senén for providing most of the tests in the poll spec.
2019-06-03 18:35:59 +02:00
lalo
8d5f53e1e7
Refactor budget investment show page extracting code to partial
2019-06-03 17:26:31 +02:00
German Galia
4f50e67ac3
Collaborative legislation summary
2019-06-03 12:34:25 +02:00
German Galia
85722eb7c4
Rename admin/debates and admin/comments to hidden
2019-06-02 19:12:26 +02:00
Alberto
2f8505332e
Merge pull request #3574 from consul/remove-dashboard-polls
...
Allow users to delete dashboard polls
2019-06-01 11:06:34 +02:00
Alberto
8ee396f311
Merge pull request #3573 from consul/improve-ux
...
Add help texs, links and new message section to improve UX
2019-06-01 10:38:52 +02:00
voodoorai2000
cb9c3696f4
Use budget investments in useful specs
2019-05-31 18:23:03 +02:00
voodoorai2000
d0b8fef6b3
Delete spending proposals
2019-05-31 18:22:59 +02:00
voodoorai2000
24dde9c35e
Delete valuation
2019-05-31 15:43:06 +02:00
voodoorai2000
a932737881
Delete ballots
2019-05-31 15:43:06 +02:00
Julian Nicolas Herrero
3ba7bd1cab
Merge pull request #3567 from consul/select_proposals_by_admins
...
Make proposals to be selected by administrators
2019-05-31 15:30:39 +02:00
Javier Martín
888c161944
Merge pull request #2616 from consul/show_votes_associated_to_signatures
...
Show count of votes associated to verified signatures
2019-05-31 15:30:04 +02:00
decabeza
7ed80d7883
Move link to selected proposals on proposals index
2019-05-31 12:24:10 +02:00
decabeza
3855bf26ad
Allow users to delete dashboard polls
2019-05-31 11:55:23 +02:00
decabeza
de7b2e8681
Replace name label on dashboard polls form
2019-05-31 11:55:14 +02:00
decabeza
4c5b2723f4
Create new messages section for proposal's dashboard
2019-05-31 11:42:15 +02:00
decabeza
c1d5c7b1b7
Remove send notification proposal from community
2019-05-31 11:41:01 +02:00
decabeza
6b85ed8747
Add show and collapse text on comments tree
2019-05-31 11:40:57 +02:00
decabeza
0154bc556d
Add link to comment path on comment date
2019-05-31 11:40:53 +02:00
decabeza
5fd493cd2c
Add link to process on legislation processes proposals
2019-05-31 11:40:48 +02:00
Bertocq
d9fdc2e0f2
Show votes associated to verified signatures
2019-05-30 18:38:46 +02:00
Javi Martín
123196e4ed
Display the same results for stats and recounts
...
In the recounts we were incorrectly assuming the total amount included
the blank and invalid ballots.
2019-05-30 17:22:39 +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
28835a29ef
Share helper between class Proposal and Legislation::Proposal
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
Javier Martín
14a5ea87a1
Merge pull request #3562 from consul/prepare_for_rails_5.1
...
Add Rails 5.1 compatibility
2019-05-29 19:11:19 +02:00
Alberto
24bab90cff
Merge pull request #3539 from consul/hide-token
...
Remove token on views
2019-05-29 16:28:35 +02:00
decabeza
585f9ea5ab
Remove token on views temporally
2019-05-29 15:49:28 +02:00
Javi Martín
241ee313f1
Use paths instead of URLs where possible
...
It simplifies the code and solves any issue we might have configuring
the host in the test environment.
2019-05-28 16:38:45 +02:00
voodoorai2000
e1141d1cd3
Display already voted message for budget polls
...
Budget polls behave slightly differently to non-budget polls.
In budget polls we use Budget::Ballot::Lines to verify if a user has already voted online. In non-budget polls we use Poll::Voter to verify this.
In this commit we are adding an extra check to make sure that the correct message is displayed if the user has already voted online for a budget poll[1]
[1] https://github.com/AyuntamientoMadrid/consul/blob/master/spec/features/budget_polls/voter_spec.rb#L122
2019-05-24 15:20:54 +02:00
voodoorai2000
5abde6da6e
Simplify html tag structure
2019-05-24 15:20:54 +02:00
voodoorai2000
29f5268e42
Display polls for current booth
...
Polls that were not votable by a user were not being displayed in the officing interface. Creating a confusing situation for officers.
With this commit polls that are not votable by a user will be displayed, with the corresponding message explaining that that poll can only be voted by residents of a certain geozone.
2019-05-24 15:20:54 +02:00
Javier Martín
387488aa68
Merge pull request #3520 from consul/backport-refactor_stats_enabled
...
Add options to show advanced stats
2019-05-23 13:07:19 +02:00
Javier Martín
afdc7087d7
Merge pull request #3519 from consul/backport-remove_custom_poll_group_file
...
Simplify link to poll
2019-05-23 13:06:50 +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
Javi Martín
45a3d8daf0
Add option to enable advanced stats
2019-05-22 11:50:03 +02:00