decabeza
43dd3d2169
Include mailer header logo on custom images list
2019-05-21 11:22:04 +02:00
Alberto
7db1cac3bc
Merge pull request #3507 from consul/proposals-user-segment
...
Proposals authors user segment
2019-05-20 14:00:15 +02:00
decabeza
aee62b9d33
Change header title link on officing namespace
2019-05-17 17:48:54 +02:00
decabeza
2c9d9b5de8
Remove admin shortcuts links to stats and settings
...
These links are already on sidebar and isn't necessary have them on header.
2019-05-17 17:48:49 +02:00
decabeza
cbbe188d6a
Move officing link inside header dropdown menu
...
Also include the condition to hide this link on officing namespace.
2019-05-17 17:48:43 +02:00
decabeza
6cfb2e896d
Change admin menu to menu
2019-05-17 17:47:46 +02:00
decabeza
f06cdc5fbb
Change my activity menu to my content
2019-05-17 17:47:40 +02:00
decabeza
30cd7ec9b2
Add help text to admin newsletter new
2019-05-17 17:43:58 +02:00
decabeza
035b11c460
Hide select text if budget finished
2019-05-17 17:42:58 +02:00
decabeza
bec550e843
Fix typo on booth unassign spanish translation
2019-05-17 17:41:46 +02:00
decabeza
625c34bac2
Add officer email on admin poll shifts table
2019-05-17 17:41:42 +02:00
decabeza
0c704c2f06
Replace i18n destroy to delete
2019-05-17 17:41:38 +02:00
decabeza
33c06ea0d3
Add help text to admin poll officers search
2019-05-17 17:41:36 +02:00
decabeza
8fda0bfb6c
Add help text to slug on admin new site customization pages
2019-05-17 17:41:30 +02:00
Alberto
d845c6e973
Merge pull request #3476 from consul/delete-poll
...
Allow delete polls with associated questions and answers
2019-05-17 17:38:20 +02:00
Alberto
b3ec2b42d1
Merge pull request #3506 from consul/officers-redirect
...
Remove redirect for poll officers
2019-05-17 17:27:01 +02:00
decabeza
61ae4d0ba2
Fix indentation on admin newsletters show
2019-05-17 17:22:41 +02:00
decabeza
4296a83025
Removes unncesary div tag on admin newsletters show
...
This prevent send button renders outside of the layout.
2019-05-17 17:22:37 +02:00
decabeza
e6af2f15fb
Add new user segment all_proposals_authors
2019-05-17 17:22:29 +02:00
Alberto
7c79965547
Merge pull request #3397 from consul/proposals-form
...
Remove question and external_url fields from proposals and legislation proposals
2019-05-17 17:08:56 +02:00
decabeza
4f1e70ea95
Remove redirect to poll officers
2019-05-17 16:30:33 +02:00
Javi Martín
3d84920c47
Add task to generate poll slugs
2019-05-17 08:15:41 +02:00
María Checa
0c6e7e7580
Adds Sluggable concern to Poll model
2019-05-17 05:41:09 +02:00
Bertocq
65fd88ef32
Use poll slug on stats and results paths
2019-05-17 05:41:09 +02:00
rgarcia
1af472b795
hotfix for polls without slugs
2019-05-16 23:40:50 +02:00
Bertocq
291ae7b734
Add slug to Polls on dev seed rake
2019-05-16 23:40:50 +02:00
Bertocq
501fe9b682
Fix poll_path links to adding id param
2019-05-16 23:40:50 +02:00
María Checa
e3b16230e6
Added slug to polls for named urls
2019-05-16 23:40:50 +02:00
Javier Martín
525eb9034c
Merge pull request #3438 from consul/backport-stats
...
Add budget stats
2019-05-16 22:46:38 +02:00
voodoorai2000
abb6eb18b0
Order headings by name and group
...
Note that we are relying on the existing `sort_by_name`[1] method in the `Budget::Heading` class.
This method sorts by DESC group name first and then ASC heading name.
[1] https://github.com/AyuntamientoMadrid/consul/pull/1875
2019-05-16 22:01:42 +02:00
decabeza
7b2495845d
Moves social tags outside cache on budget stats
2019-05-16 22:01:42 +02:00
Angel Perez
a889f62f68
Remove unused budget I18n keys
2019-05-16 22:01:42 +02:00
Angel Perez
3bbdffceaf
Remove conditional to render tabs on budgets/stats#show
...
'Results' and 'Execution' tabs are now shown to the user regardless
of the budget's current status
2019-05-16 22:01:42 +02:00
Angel Perez
c2b9042ad7
Add 'Execution' tab to a finished Budget stats
...
This tab will show all winner investments projects with milestones
2019-05-16 22:01:42 +02:00
María Checa
fac99cfb10
Add web and booth participants in budget stats
2019-05-16 22:01:42 +02:00
María Checa
c2457e36a5
Add budget stats permissions for normal users and admins
2019-05-16 22:01:42 +02:00
Marko Lovic
70e108d593
Simplify spec
2019-05-16 22:01:42 +02:00
Marko Lovic
0c5f801c19
Keep DB clean after running budget stats spec
...
This spec was leaving the DB "dirty" because it was creating
records in a before(:all) hook. These records are not cleaned up
automatically when using the :transaction strategy for DatabaseCleaner.
Using before(:each), however, causes another problem. Some of the code
depends on the heading id being 1 (see app/models/budget/ballot/line.rb#L48).
Because of SQL auto-increment, this is only the case the first time the hook
is run, as different id's are assigned on subsequent runs. This is fixed
by forcing the id to always be 1.
2019-05-16 22:01:42 +02:00
María Checa
3291b3274a
Added physical votes to stats
2019-05-16 22:01:42 +02:00
decabeza
99d0ac52c0
Fixes budgets stats ui for all phases
2019-05-16 22:01:42 +02:00
decabeza
7b2f77dfbd
removes duplicated thead tag
2019-05-16 22:01:42 +02:00
Bertocq
6a46719ff8
Link to results without heading unless its on the results menu
2019-05-16 22:01:42 +02:00
Bertocq
c5a4a427c4
Add links between Budget stats and results routes
2019-05-16 22:01:42 +02:00
Bertocq
4691b486b0
Improve budget stats investments sent text to have a breakline on spanish
2019-05-16 22:01:42 +02:00
Bertocq
e5a2440e91
Remove the last totals row on Budget stats view
2019-05-16 22:01:42 +02:00
Bertocq
07cef9cd78
Order headings by id on budget stats view
2019-05-16 22:01:42 +02:00
Bertocq
4b2a2dd995
Improve percent round
2019-05-16 22:01:42 +02:00
Bertocq
be89289b09
Improve budget stats page with a new row showing each column totals
2019-05-16 22:01:42 +02:00
rgarcia
50c0f5f287
more efficient calculation of ballot lines
2019-05-16 22:01:42 +02:00
rgarcia
e5ec0bf6bb
counts votes instead of ballots
2019-05-16 22:01:42 +02:00