Commit Graph

3514 Commits

Author SHA1 Message Date
Alberto Garcia Cabeza
b4660e162a improves table layout on admin polls index 2017-02-09 18:38:56 +01:00
Amaia Castro
28de717300 Show only active phases 2017-02-09 17:32:38 +01:00
Amaia Castro
5d37997a69 Redirect to allegations phase if open 2017-02-09 16:59:02 +01:00
Amaia Castro
d656de680d Social share buttons for annotation 2017-02-09 15:32:42 +01:00
Fernando Blat
5d060d6d8c Merge pull request #110 from medialab-prado/101-open-rsponses-only-for-verified-users
Check open phase and user verification for questions open answers
2017-02-09 14:45:42 +01:00
Fernando Blat
a22cb764ad Merge pull request #111 from medialab-prado/99-make-process-texts-optional
Make process texts optional
2017-02-09 14:43:59 +01:00
Amaia Castro
d65f1998d0 Sort comments in sidebar by number of votes 2017-02-09 12:42:00 +01:00
Amaia Castro
08ab7474d0 Make process texts optional 2017-02-09 12:27:16 +01:00
Alberto Garcia Cabeza
0025b7faec adds link to configure poll (poll show) on admin poll index 2017-02-08 22:23:17 +01:00
Alberto Garcia Cabeza
086b4108e7 improves message of geozone info on poll index 2017-02-08 22:19:33 +01:00
Amaia Castro
3009706b0d Don’t allow comments on questions for unverified users and when the phase is closed 2017-02-08 18:19:10 +01:00
Juanjo Bazán
d7000e399f logs user info in officer_assignments
In case user is no longer a poll officer, info on who did what is
stored in officer_assignment
2017-02-08 15:50:13 +01:00
Amaia Castro
60c7947cb4 Merge branch 'master' into legislation-module-stable 2017-02-08 12:24:40 +01:00
Juanjo Bazán
cb75be8f6a Merge branch 'master' into polls 2017-02-08 11:25:20 +01:00
Alberto Garcia Cabeza
9a03507a0c adds autocomplete off and type number on officing residence form 2017-02-07 20:11:55 +01:00
Juanjo Bazán
ba0b39a45c avoids error 500 if invalid random_seed 2017-02-07 19:29:17 +01:00
Juanjo Bazán
e93461356c quotes random seed 2017-02-07 19:05:04 +01:00
kikito
c473f9856f makes age errors visible 2017-02-07 16:48:19 +01:00
kikito
e6fd615adf uses Poll::Question#author_visible_name in question/show 2017-02-07 12:09:19 +01:00
Alberto Garcia Cabeza
ec729ee1e1 removes total question count text on polls show 2017-02-07 10:46:46 +01:00
Raimond Garcia
6c93b8ced5 Merge pull request #1401 from consul/polls-show-share
polls show share
2017-02-06 20:49:57 +01:00
Alberto Garcia Cabeza
d19c3af21a adds social share on polls show view 2017-02-06 19:17:50 +01:00
Juanjo Bazán
35540cdcf1 adds poll results to admin
simple page shows results by question, white and null results
2017-02-06 17:12:54 +01:00
Fernando Blat
5cd263b79c In mobile, don't load comments in the sidebar, but use the permalink page 2017-02-06 13:15:37 +01:00
Fernando Blat
ea33dce3a6 Allow 5 levels of highlighting 2017-02-06 12:59:57 +01:00
Fernando Blat
ee90bca24d Highlight current annotation 2017-02-06 12:57:30 +01:00
Fernando Blat
09b14d9687 Annotation pointer cursor 2017-02-06 12:54:07 +01:00
Alberto Garcia Cabeza
26ac9f6759 makes buttons 100% width on mobile version 2017-02-06 12:04:50 +01:00
Alberto Garcia Cabeza
1d2a0c3fcd moves date info, makes polls title bigger 2017-02-06 12:04:31 +01:00
Raimond Garcia
7857dcf79c Merge pull request #1396 from consul/blanks_and_nulls
Blanks and nulls final results by poll officers
2017-02-03 20:23:27 +01:00
Juanjo Bazán
2a902c68eb adds creation of null and white results by poll officers 2017-02-03 19:11:04 +01:00
Juanjo Bazán
c9c4b30ffc adds Null/White Results models 2017-02-03 19:08:40 +01:00
Raimond Garcia
34bb7df8b1 Merge pull request #1394 from consul/polls-index
polls index
2017-02-03 18:33:30 +01:00
Alberto Garcia Cabeza
46d9961c36 adds icon if already answer poll 2017-02-03 17:43:44 +01:00
kikito
386a5aa941 Fixes typos 2017-02-03 16:08:58 +01:00
kikito
ba87eaa47c Moves Age calculation to a module instead of monkeypatching Date 2017-02-03 15:35:41 +01:00
Alberto Garcia Cabeza
54472852ca changes link to poll on polls with one question 2017-02-03 14:26:56 +01:00
Alberto Garcia Cabeza
6728fe6751 adds icons of answerable on polls index 2017-02-03 14:23:26 +01:00
kikito
95f80651b1 uses Date#age_in_years when calculating ages 2017-02-03 12:56:40 +01:00
Alberto Garcia Cabeza
cef9bf600c shows question as title if poll has only one question 2017-02-03 12:34:34 +01:00
Enrique García
699f3b34f7 Merge pull request #1392 from consul/restrict_access
Restrict access to residence validations
2017-02-03 11:16:47 +01:00
Juanjo Bazán
b88de40ebe restricts access to residence validations to assigned officers 2017-02-03 10:43:03 +01:00
Alberto Garcia Cabeza
ce8cd79c87 adds message before geozone tags on poll index 2017-02-02 19:33:40 +01:00
Juanjo Bazán
de4a7a6b39 Merge pull request #1389 from consul/polls-answerable-by
Adds specs for Poll.answerable_by, fixing issue with SQL join
2017-02-02 17:13:11 +01:00
Alberto Garcia Cabeza
bc6c75a0d1 adds missing data-equalizer on officing sidebar 2017-02-02 17:08:53 +01:00
Alberto Garcia Cabeza
095545cd48 improves styles for officing results table 2017-02-02 17:08:00 +01:00
kikito
9c1a5847de uses answerable_by instead of current in voters controller 2017-02-02 16:53:57 +01:00
kikito
86d42ce094 Adds specs for Poll.answerable_by, fixing issue with SQL join 2017-02-02 16:41:04 +01:00
Raimond Garcia
3dd33c4247 Merge pull request #1388 from consul/recounting
Creation of Partial Results for Poll Officers
2017-02-02 16:39:24 +01:00
Juanjo Bazán
f060969422 adds changes logging to poll partial results 2017-02-02 16:26:21 +01:00