From 82de9eaa84aa17496e34c9c5ebd7d05d4ee406ff Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Fri, 1 Nov 2013 12:42:57 +0100 Subject: [PATCH] Tweaks - extra column in events grid with location & time - bugfixes in locationwidget - prepared email notifications --- Todo.txt | 4 - blechreiz/database.sqlite | Bin 84992 -> 87040 bytes blechreiz/settings.py | 8 + eventplanner/locale/de/LC_MESSAGES/django.mo | Bin 1312 -> 1298 bytes eventplanner/locale/de/LC_MESSAGES/django.po | 77 ++- eventplanner/models.py | 7 +- .../eventplanner/event_update_form.html | 32 +- .../templates/eventplanner/events_grid.html | 14 +- eventplanner/views.py | 4 +- location_field/media/form.css | 5 + location_field/media/form.js | 1 + material/Andreas.png | Bin 0 -> 101246 bytes material/Andreas_thum.png | Bin 0 -> 40977 bytes material/Bernd.png | Bin 0 -> 89654 bytes material/Bernd_thumb.png | Bin 0 -> 36762 bytes material/Birgit.png | Bin 0 -> 104707 bytes material/Birgit_thumb.png | Bin 0 -> 42062 bytes material/Christina.png | Bin 0 -> 122328 bytes material/Christina_thumb.png | Bin 0 -> 49457 bytes material/Florian.png | Bin 0 -> 92323 bytes material/Florian_thumb.png | Bin 0 -> 37001 bytes material/MartinB.png | Bin 0 -> 95232 bytes material/MartinB_1.png | Bin 0 -> 95232 bytes material/MartinB_2.png | Bin 0 -> 95232 bytes material/MartinB_thumb.png | Bin 0 -> 38091 bytes material/MartinB_thumb_1.png | Bin 0 -> 38091 bytes material/MartinW.png | Bin 0 -> 87560 bytes material/MartinW_thumb.png | Bin 0 -> 35157 bytes material/Nadine.png | Bin 0 -> 98882 bytes material/Nadine_thumb.png | Bin 0 -> 35324 bytes material/Rebecca.png | Bin 0 -> 105378 bytes material/Rebecca_2.png | Bin 0 -> 105378 bytes material/Rebecca_thumb.png | Bin 0 -> 42493 bytes material/Rebecca_thumb_1.png | Bin 0 -> 42493 bytes material/Stefan.png | Bin 0 -> 95670 bytes material/Stefan_thumb.png | Bin 0 -> 38393 bytes material/Stephan.png | Bin 0 -> 88794 bytes material/Stephan_thumb.png | Bin 0 -> 35935 bytes material/Thomas.png | Bin 0 -> 97708 bytes material/Thomas_thumb.png | Bin 0 -> 39657 bytes material/Werner.png | Bin 0 -> 93931 bytes material/Werner_thumb.png | Bin 0 -> 37944 bytes material/Wilhelm.png | Bin 0 -> 95555 bytes material/Wilhelm_thumb.png | Bin 0 -> 38380 bytes material/martin.png | Bin 0 -> 95232 bytes material/martin_1.png | Bin 0 -> 95232 bytes material/martin_circle.png | Bin 0 -> 38091 bytes material/martin_thumb.png | Bin 0 -> 38091 bytes material/rebecca_1.png | Bin 0 -> 105378 bytes material/rebecca_circle.png | Bin 0 -> 42493 bytes material/rebecca_vildosola_thumb.png | Bin 0 -> 42493 bytes modules.txt | 11 + simpleforum/models.py | 37 +- .../simpleforum/bootstrapForMail.css | 588 ++++++++++++++++++ simpleforum/templates/simpleforum/mail.html | 47 ++ simpleforum/templates/simpleforum/mail.txt | 9 + 56 files changed, 800 insertions(+), 44 deletions(-) create mode 100644 material/Andreas.png create mode 100644 material/Andreas_thum.png create mode 100644 material/Bernd.png create mode 100644 material/Bernd_thumb.png create mode 100644 material/Birgit.png create mode 100644 material/Birgit_thumb.png create mode 100644 material/Christina.png create mode 100644 material/Christina_thumb.png create mode 100644 material/Florian.png create mode 100644 material/Florian_thumb.png create mode 100644 material/MartinB.png create mode 100644 material/MartinB_1.png create mode 100644 material/MartinB_2.png create mode 100644 material/MartinB_thumb.png create mode 100644 material/MartinB_thumb_1.png create mode 100644 material/MartinW.png create mode 100644 material/MartinW_thumb.png create mode 100644 material/Nadine.png create mode 100644 material/Nadine_thumb.png create mode 100644 material/Rebecca.png create mode 100644 material/Rebecca_2.png create mode 100644 material/Rebecca_thumb.png create mode 100644 material/Rebecca_thumb_1.png create mode 100644 material/Stefan.png create mode 100644 material/Stefan_thumb.png create mode 100644 material/Stephan.png create mode 100644 material/Stephan_thumb.png create mode 100644 material/Thomas.png create mode 100644 material/Thomas_thumb.png create mode 100644 material/Werner.png create mode 100644 material/Werner_thumb.png create mode 100644 material/Wilhelm.png create mode 100644 material/Wilhelm_thumb.png create mode 100644 material/martin.png create mode 100644 material/martin_1.png create mode 100644 material/martin_circle.png create mode 100644 material/martin_thumb.png create mode 100644 material/rebecca_1.png create mode 100644 material/rebecca_circle.png create mode 100644 material/rebecca_vildosola_thumb.png create mode 100644 modules.txt create mode 100644 simpleforum/templates/simpleforum/bootstrapForMail.css create mode 100644 simpleforum/templates/simpleforum/mail.html create mode 100644 simpleforum/templates/simpleforum/mail.txt diff --git a/Todo.txt b/Todo.txt index facc700..6a1f1cb 100644 --- a/Todo.txt +++ b/Todo.txt @@ -1,8 +1,4 @@ - - -- Termin Typ: Konzertvorschlag -> ohne Ort -> nicht auf routenplanung - - Email benachrichtigung bei Foreneintrag! - Gallery \ No newline at end of file diff --git a/blechreiz/database.sqlite b/blechreiz/database.sqlite index 630b052781c0c3b48902f5d3d73c842aac3df6ce..5322a00243cd3cbeaa424375d6f40ee07cd7aa2b 100644 GIT binary patch delta 4630 zcmchaX>1%t7RS5Z>+b39nI6Y+F2_0S9OSe;_u(XT#%JPW#_i}Bt}Fl1ZY7ZSUw<*4=jWu?3wJPg#f!*?eV&+2qb{eep$7q ze*dbjs`u}ye%0N#-lyF9sB%w{@{%M;dyf@c?4?tkkJM>C2_9lTsdm=8Bi1KLus?a5 zl9=hsOi#pn2gBXnGyaMAcr26+1SUrNeDS_O|3L3_a;9UXqb)U;wT|b6vM0>lo@7s_}OW4GeX(Oe7Lx{)36u*%kH6SpDpl`l4K_ zwW_}_T{RHfy{kV{QxzN^>ZltZ=pOC8Y4=#GudD6g%@LxADOE z!OE(U=AOp3y1ipHbv=hd+X6m+sMLQXV<^d^qu*;j)kcO|cG|y<;nYkcx$g<4Mw>?3 zTUv)3s%rurqxA!+w%Wl|TkBv$b<=1=U1K;k`{2%7m~Gu^|6ko6vfU2aZtHuSzjW&> z4f>1y{)$kb!tW~!M8dvUVD6#%PUd-90z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M@^0?TRxlW>MmkIIDDJ=}xg~G9 O=<|q7*V?+tD*gpJl47#} diff --git a/blechreiz/settings.py b/blechreiz/settings.py index 0c7a116..9875c7f 100644 --- a/blechreiz/settings.py +++ b/blechreiz/settings.py @@ -24,6 +24,14 @@ DATABASES = { } } +# Email + +EMAIL_HOST='smtp.gmail.com' +EMAIL_HOST_USER='martinbauer86@gmail.com' +EMAIL_HOST_PASSWORD='' +EMAIL_USE_TLS=True + + # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts ALLOWED_HOSTS = [] diff --git a/eventplanner/locale/de/LC_MESSAGES/django.mo b/eventplanner/locale/de/LC_MESSAGES/django.mo index 131e079a4d4c1390deb0a19503c52355ca5e35e3..7488f687b0ecfc916fdab4e012a0344060fcb8d2 100644 GIT binary patch delta 657 zcmXZZ%_~Gv7{~E5GuO+E_winojg{0~vSA^SjVU`)Bhm{;1$+j0ky#`s?Z(Q z;U&;Dq{l-l?|3MvKmPM*FhuUum9qOA626epf!xzTvp*lW9HE?1*!$#&8 zs0MG4z0Ct^{S#{a3#!o~h7BSoH6={or}anQsc(K6sIx!R!U}d#hjFyGz^okluHx;a ziYZ#lgx6q)Au6U&(`+4v8q#5t<*Av}y{ni`q9zp0q)wz$=*|@NWDD7*$*39kv&&vC zZzjBqm-j}4v1oVY^j3b|&jt(8_j=duPq{sAYIta%FXi4(#OflAQ+{?=e@VYSZZEHS U+2FwGjL-NvCYhzx;LHB z)bBXprjvLd>v##9IDw0J1zX6+UUIpBuW%AOcnu?7#P?XiA#%>9Z852`Fv2>1 zL>;h?YVZXw<3Z^+)ImQ``;JPFOHc4MiBD0%*SP5pK1T)LK<)d$r9poimJ7S6#-B>} z@G9Rwqk?@!&a^|+lYK|s{}UDP7b@5(>Ir{i4gZw>Eq|}FNkQsZp});A(UZ=i606A+ zrJ(>U{~tHYnHtSdYM^F%1q!91zx&47>^%51b9&o#szE8N0;s2_&W7HR$0 zbQH#qr{*5tn}6gUEHoc3+?|_0SgAC|o-O;V>t2N9P4w%%P@eymeLi+V7NR@c*Cbji cjT>sRnB+}c%L?ZQUDqOAu+@;n(N=Z%536ZnrT_o{ diff --git a/eventplanner/locale/de/LC_MESSAGES/django.po b/eventplanner/locale/de/LC_MESSAGES/django.po index e5de1ea..ca4f871 100644 --- a/eventplanner/locale/de/LC_MESSAGES/django.po +++ b/eventplanner/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-09-28 16:56+0200\n" +"POT-Creation-Date: 2013-11-01 10:52+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,93 +18,117 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: models.py:14 +#: models.py:15 msgid "Rehearsal" msgstr "Probe" -#: models.py:15 +#: models.py:16 msgid "Concert" msgstr "Konzert" -#: models.py:16 +#: models.py:17 msgid "Party" msgstr "Feier" -#: models.py:17 +#: models.py:18 msgid "Travel" msgstr "Dienstreise" -#: models.py:20 +#: models.py:19 +msgid "Option" +msgstr "Vorschlag" + +#: models.py:22 msgid "type" msgstr "Typ" -#: models.py:21 +#: models.py:23 msgid "Short Description" msgstr "Kurzbeschreibung" -#: models.py:22 +#: models.py:24 msgid "location" msgstr "Ort" -#: models.py:23 +#: models.py:25 msgid "Location on map" msgstr "Ort auf Karte" -#: models.py:24 +#: models.py:26 msgid "description" msgstr "Beschreibung" -#: models.py:26 +#: models.py:28 msgid "date" msgstr "Datum" -#: models.py:27 +#: models.py:29 msgid "time" msgstr "Uhrzeit" -#: models.py:28 +#: models.py:30 msgid "meeting_time" msgstr "Treffen um" -#: models.py:30 +#: models.py:32 msgid "End Date" msgstr "Bis:" -#: models.py:32 +#: models.py:34 msgid "participants" msgstr "Teilnehmer" -#: models.py:64 +#: models.py:68 msgid "?" msgstr "?" -#: models.py:65 +#: models.py:69 msgid "Yes" msgstr "Ja" -#: models.py:66 +#: models.py:70 msgid "No" msgstr "Nein" -#: models.py:69 +#: models.py:73 msgid "event" msgstr "Termin" -#: models.py:70 +#: models.py:74 msgid "user" msgstr "Benutzer" -#: models.py:71 +#: models.py:75 msgid "status" msgstr "Status" -#: models.py:72 +#: models.py:76 msgid "comment" msgstr "Kommentar" -#: models.py:100 -msgid "Can modify participation status of other users" -msgstr "Darf Teilnahmestatus von anderen ändern" +#: models.py:121 +msgid "Admin" +msgstr "" + +#: models.py:122 +msgid "Member" +msgstr "" + +#: templates/eventplanner/admin_tabular.html:17 +msgid "Delete?" +msgstr "Löschen" + +#: templates/eventplanner/admin_tabular.html:74 +#, python-format +msgid "Add another %(verbose_name)s" +msgstr "" + +#: templates/eventplanner/admin_tabular.html:75 +msgid "Remove" +msgstr "" + +#~ msgid "Can modify participation status of other users" +#~ msgstr "Darf Teilnahmestatus von anderen ändern" #~ msgid "General Rehearsal" #~ msgstr "Generalprobe" @@ -114,6 +138,3 @@ msgstr "Darf Teilnahmestatus von anderen ändern" #~ msgid "musician" #~ msgstr "Musiker" - -#~ msgid "Delete?" -#~ msgstr "Löschen" diff --git a/eventplanner/models.py b/eventplanner/models.py index e2d19d3..1ac8dab 100644 --- a/eventplanner/models.py +++ b/eventplanner/models.py @@ -15,12 +15,13 @@ class Event ( models.Model ): ( 'Reh', _('Rehearsal') ), ( 'Conc', _('Concert') ), ( 'Party', _('Party') ), - ( 'Travel', _('Travel') ) + ( 'Travel', _('Travel') ), + ( 'Option', _('Option') ), ) type = models.CharField( max_length=6, choices=EVENT_TYPES, default='Reh', verbose_name= _("type") ) short_desc = models.CharField( null=True, max_length=100, blank = True, verbose_name= _("Short Description") ) - location = models.TextField( blank=False, verbose_name=_("location") ) + location = models.TextField( blank=True, verbose_name=_("location") ) map_location = PlainLocationField(blank=True, based_field = location, zoom=7, verbose_name=_("Location on map") ) desc = models.TextField( blank=True, verbose_name=_("description") ) @@ -49,7 +50,7 @@ class Event ( models.Model ): def title(self): res = self.get_type_display() if ( self.short_desc ): - res += " ( " + self.short_desc + " ) " + res += " (" + self.short_desc + ") " return res diff --git a/eventplanner/templates/eventplanner/event_update_form.html b/eventplanner/templates/eventplanner/event_update_form.html index 161f16d..804a51d 100644 --- a/eventplanner/templates/eventplanner/event_update_form.html +++ b/eventplanner/templates/eventplanner/event_update_form.html @@ -69,6 +69,15 @@ $(document).ready(function(){ defaultTime: false }); + $('form').submit(function() { + if ( $("#id_type").val() != "Option" && $("#id_location").val().trim() == "" ) { + alert("Bitte Ort angeben"); + return false; + } + else + return true; + }); + function onTypeChange( val ) { if ( val == "Reh") { @@ -76,6 +85,7 @@ $(document).ready(function(){ $("#div_id_meeting_time").hide(); $("#div_id_map_location").hide(); $("#div_id_end_date").hide(); + $("#div_id_location").show(); if ( ! $("#id_time").val() ) { $("#id_time").val("19:00"); @@ -87,18 +97,36 @@ $(document).ready(function(){ else if ( val == "Conc" ) { $("#div_id_time").show(); $("#div_id_meeting_time").show(); + $("#div_id_location").show(); $("#div_id_map_location").show(); $("#div_id_end_date").hide(); } else if ( val == "Party") { $("#div_id_time").show(); - $("#div_id_meeting_time").hide(); + $("#div_id_meeting_time").hide(); + $("#div_id_location").show(); $("#div_id_map_location").show(); $("#div_id_end_date").hide(); } else if ( val == "Travel") { $("#div_id_time").hide(); - $("#div_id_meeting_time").hide(); + $("#div_id_meeting_time").hide(); + $("#div_id_location").show(); + $("#div_id_map_location").show(); + $("#div_id_end_date").show(); + } + else if ( val == "Option" ) { + $("#div_id_time").hide(); + $("#div_id_meeting_time").hide(); + $("#div_id_location").hide(); + $("#div_id_map_location").hide(); + $("#div_id_end_date").show(); + } + else + { + $("#div_id_time").show(); + $("#div_id_meeting_time").show(); + $("#div_id_location").show(); $("#div_id_map_location").show(); $("#div_id_end_date").show(); } diff --git a/eventplanner/templates/eventplanner/events_grid.html b/eventplanner/templates/eventplanner/events_grid.html index a48255b..acaf670 100644 --- a/eventplanner/templates/eventplanner/events_grid.html +++ b/eventplanner/templates/eventplanner/events_grid.html @@ -16,6 +16,12 @@ {% block content %} {% addtoblock "css" %} + + + + + + + + + + +
+ + + + +
{{ messages.0.text | linebreaks }}
+
+ + \ No newline at end of file diff --git a/simpleforum/templates/simpleforum/mail.txt b/simpleforum/templates/simpleforum/mail.txt new file mode 100644 index 0000000..1a256c4 --- /dev/null +++ b/simpleforum/templates/simpleforum/mail.txt @@ -0,0 +1,9 @@ +Neuer Forumeintrag von {{ messages.0.author.username }}: + + +{{ messages.0.text }} + + +Im Forum antworten: + http://bauer1.selfip.com/blechreiz/messages + \ No newline at end of file