diff --git a/eventplanner/templates/eventplanner/events_grid.html b/eventplanner/templates/eventplanner/events_grid.html index 69209fe..de0b666 100644 --- a/eventplanner/templates/eventplanner/events_grid.html +++ b/eventplanner/templates/eventplanner/events_grid.html @@ -28,6 +28,8 @@ .with_comment { font-style: italic; + font-weight: 900; + font-size: 11px; } .usernameHeader { font-size:10px; @@ -210,11 +212,16 @@ Nein - {% else %} + {% elif p.status == "?" %} ? + {% else %} + + - + {% endif %} + {% endif %} diff --git a/eventplanner_gcal/google_sync.py b/eventplanner_gcal/google_sync.py index 491109b..4da7eb2 100644 --- a/eventplanner_gcal/google_sync.py +++ b/eventplanner_gcal/google_sync.py @@ -108,10 +108,17 @@ def buildGCalEvent( event, timezone="Europe/Berlin" ): else: endTime = datetime.time( 22, 30 ) + gLocation = unicode(event.location) + if event.map_location: + # Map location has the following format: latitude,longitude,zoomlevel + # the first two are needed + s = event.map_location.split(",") + gLocation = unicode ( "%s,%s" % (s[0],s[1] ) ) + return { 'summary': unicode(settings.GCAL_COUPLING['eventPrefix'] + event.title), 'description': unicode(event.desc), - 'location': unicode(event.location), + 'location': gLocation, 'start': createDateTimeObj( startDate, startTime ), 'end' : createDateTimeObj( endDate, endTime ), 'extendedProperties': { diff --git a/eventplanner_gcal/management/commands/gcal_checkSubscription.py b/eventplanner_gcal/management/commands/gcal_check_subscription.py similarity index 100% rename from eventplanner_gcal/management/commands/gcal_checkSubscription.py rename to eventplanner_gcal/management/commands/gcal_check_subscription.py diff --git a/eventplanner_gcal/management/commands/gcal_stopSubscriptions.py b/eventplanner_gcal/management/commands/gcal_stop_subscriptions.py similarity index 100% rename from eventplanner_gcal/management/commands/gcal_stopSubscriptions.py rename to eventplanner_gcal/management/commands/gcal_stop_subscriptions.py diff --git a/eventplanner_gcal/static/img/screenshot.png b/eventplanner_gcal/static/img/screenshot.png new file mode 100644 index 0000000..d592900 Binary files /dev/null and b/eventplanner_gcal/static/img/screenshot.png differ diff --git a/eventplanner_gcal/templates/eventplanner_gcal/management.html b/eventplanner_gcal/templates/eventplanner_gcal/management.html index d1aa058..4983bac 100644 --- a/eventplanner_gcal/templates/eventplanner_gcal/management.html +++ b/eventplanner_gcal/templates/eventplanner_gcal/management.html @@ -68,11 +68,22 @@