Commit Graph

50 Commits

Author SHA1 Message Date
Oskar Hahn adeaf248ef Changed utils.- and poll.views 2013-02-01 12:51:01 +01:00
Oskar Hahn bd32994296 cleanup
Removed unused imports and fixed pep8 errors
2012-11-24 14:01:21 +01:00
Oskar Hahn 760f8e042e some fixes 2012-09-12 10:17:51 +02:00
Oskar Hahn 76e52cf01a #300 dont show votecast and voteinvalid symbols, if the vote has no votes 2012-07-16 14:29:30 +02:00
Oskar Hahn 4e5884bda4 #298 fix problem with a votecast of 0, -1 and -2 2012-07-16 14:10:56 +02:00
Oskar Hahn a1152af7ea #288 fix type error if a poll has no votecast 2012-07-14 08:48:25 +02:00
Oskar Hahn 66b853a10a redesign the poll api, so it don't creates poll-tables. Also, it is easier to get the poll for a vote object.
#288 show percent after the vote results
2012-07-13 11:16:06 +02:00
Oskar Hahn aa130ab2da cleanup openslides base files.
Do not manipulate the pythonpath anymore.
2012-07-10 14:00:51 +02:00
Oskar Hahn e22467b06e cleanup poll app 2012-07-10 11:48:03 +02:00
Oskar Hahn 8d961f4940 fix translation by using ugettext_lazy 2012-07-10 01:33:03 +02:00
Oskar Hahn f8a1c58fff #277 throw an error, in the invalid-field or the votecast-field is lower -2 2012-07-07 11:14:04 +02:00
Oskar Hahn 2dc0cc83f1 rewrote assignment poll output 2012-07-03 00:05:48 +02:00
Oskar Hahn 4339c3ae8a allow to save an empty poll 2012-06-24 22:34:11 +02:00
Oskar Hahn ae8876425a min value for polls is -2 2012-06-23 12:05:09 +02:00
Oskar Hahn e8bf2fce1a yes-no-abstain elections in assignments 2012-06-18 09:48:27 +02:00
Andy Kittner fbc603b748 Fix initial value for pollform is value is a "special" value (#135) 2012-05-19 14:19:32 +02:00
Andy Kittner 182f20308b Fix exception in polls with special values (fallout from translation fix) 2012-05-19 13:41:30 +02:00
Andy Kittner 3815ef26af Fix wrong translations in forms/ models
Converted utils.translation_ex.ugettext to use ugettext_lazy and changed
forms modules to import ugettext from there (models where already importing
it from there)
2012-05-15 01:08:08 +02:00
Emanuel Schuetze 7ef298881d Updated license header. 2012-04-25 22:29:19 +02:00
Oskar Hahn 189cfa1309 translate poll values 2012-04-17 17:35:50 +02:00
Oskar Hahn 535795391d remove default permission after syncdb 2012-04-14 14:31:09 +02:00
René Köcher 7e12e1d5e2 Support for localized permissions on top of the untranslated django model. 2012-04-14 09:28:28 +02:00
Oskar Hahn fc95d01d07 some fixes 2012-04-12 16:21:30 +02:00
Oskar Hahn c4c42611b4 generate tab liste by app list 2012-03-18 17:11:58 +01:00
Oskar Hahn 062e9bd4cb added signals for template-context-manipulation 2012-03-06 12:16:03 +01:00
Oskar Hahn a25d980f92 publish assignment polls 2012-03-03 11:16:10 +01:00
Oskar Hahn 654b101dac beamer setting page 2012-03-03 09:11:56 +01:00
Oskar Hahn 8c597a2eb3 load form-css-classes from utils.forms.py instead to define it on every form 2012-02-20 18:44:02 +01:00
Oskar Hahn 70f1cb8b3e use the new poll-api in assignments 2012-02-19 19:27:00 +01:00
Oskar Hahn 5aaa1a53fa addet votes cast and votes invalid to new poll-api 2012-02-19 17:31:17 +01:00
Oskar Hahn 114a68b120 some additions in poll and application-poll 2012-02-15 13:44:55 +01:00
Oskar Hahn c4874ae6a0 present a poll 2012-02-15 12:36:50 +01:00
Oskar Hahn bc05b78648 rewrote the config api 2012-02-15 12:04:11 +01:00
Oskar Hahn 77b11d8edf forgot to add some files 2012-02-15 10:46:55 +01:00
Oskar Hahn 9c367509dd reorder poll 2012-02-15 10:43:08 +01:00
Oskar Hahn 0957de83a9 start to rewrite the poll-api 2012-02-14 16:31:21 +01:00
Emanuel Schuetze 69befddc90 Added incompleted unit tests from changeset 247 for ongoing work of next release. 2011-11-17 17:06:39 +01:00
Emanuel Schuetze 3ae853f082 Removed incompleted unit tests for 1.1 release. 2011-11-14 22:54:31 +01:00
Emanuel Schuetze 4a3564aed8 #48 (election): Added percentage for voting results (view, projector, pdf). 2011-10-20 22:56:22 +02:00
Oskar Hahn 08a3cf8490 allow undocumented votecast and voteinvalid
the poll-class has two new properties. voteinvalidf and votescastf. They show
undocumented if the value is -2, else the value
2011-09-09 22:23:42 +02:00
Oskar Hahn 7fc12e51f9 type in last commit, template update, form update
info in template, that -1 is majority and -2 in undocumentet

update option_form. -2 is a valide value
2011-09-09 16:26:34 +02:00
Oskar Hahn 7be90c89c7 undocumentet poll results 2011-09-09 16:18:17 +02:00
Emanuel Schuetze 5a3f336cdf Added "published" attribute for poll object. Adjusted assignment
views and templates.
2011-09-08 12:30:34 +02:00
Emanuel Schuetze cc10d5042b Show invalid votes and votes cast for application and assignment results. 2011-09-03 13:53:37 +02:00
Emanuel Schuetze ca0c50caef Many improvements for application and assignment poll system. 2011-09-03 10:52:29 +02:00
Emanuel Schuetze b1b5d9cb70 Removed old poll permissions. 2011-09-03 01:46:56 +02:00
Emanuel Schuetze e752e05b0f Removed unnecessary parts from poll system. Needs new development in future. 2011-09-03 01:40:06 +02:00
Emanuel Schuetze 2278ddca54 DB change: Changed voteinvalid to votesinvalid. 2011-09-03 00:43:09 +02:00
Emanuel Schuetze f24cc7c0c1 Minor fixes 2011-09-03 00:42:37 +02:00
Oskar Hahn 3db6a12024 Add code 2011-07-31 10:46:29 +02:00