Google Calendar Coupling
- better location in gcal events (lat,long) - more verbose instruction, howto use - bugfixes in event tabular view
This commit is contained in:
parent
568376fbe7
commit
828901111e
|
@ -28,6 +28,8 @@
|
|||
|
||||
.with_comment {
|
||||
font-style: italic;
|
||||
font-weight: 900;
|
||||
font-size: 11px;
|
||||
}
|
||||
.usernameHeader {
|
||||
font-size:10px;
|
||||
|
@ -210,11 +212,16 @@
|
|||
<span class="badge badge-important eventButton" title="{{p.comment}}" data-status="{{p.status}}">
|
||||
<span class="text {% if p.comment %}with_comment{% endif %}">Nein</span>
|
||||
</span>
|
||||
{% else %}
|
||||
{% elif p.status == "?" %}
|
||||
<span class="badge badge-warning eventButton" title="{{p.comment}}" data-status="{{p.status}}">
|
||||
<span class="text {% if p.comment %}with_comment{% endif %}">?</span>
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="badge eventButton" title="{{p.comment}}" data-status="{{p.status}}">
|
||||
<span class="text {% if p.comment %}with_comment{% endif %}">-</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -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': {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -68,11 +68,22 @@
|
|||
<h5>NEU</h5>
|
||||
Die Blechreiz Termine können jetzt automatisch in den eigenen Google Kalender übernommen werden.
|
||||
Auch vom Google Kalender aus kann man sich dann für Termine eintragen, direkt vom Handy oder Tablet aus.
|
||||
Die Termine werden automatisch in den eigenen Kalender übernommen. Das Eintragen fällt leichter
|
||||
weil man alle anderen eigenen Termine auch im Blick hat.
|
||||
</p>
|
||||
|
||||
<img src="{{STATIC_URL}}/img/screenshot.png">
|
||||
|
||||
<p>
|
||||
<h5>SO GEHTS:</h5>
|
||||
Einfach die eigene Google Mail Adresse angeben und die Kopplung aktivieren.
|
||||
<br>
|
||||
Achtung: Beim Kalender wird zwischen der Endung <em>@googlemail.com</em> und der
|
||||
Endung <em>@gmail.com</em> unterschieden ( bei Emails macht es keinen Unterschied, egal welche Endung,
|
||||
alle kommen an). <br>
|
||||
Um herauszufinden was die richtige Endung ist, meldet man sich
|
||||
<a href="https://www.google.com/calendar/" target="_blank">hier</a> an und öffnet die Einstellungen des eigenen Kalenders
|
||||
(in der Leiste links, unter "Meine Kalender" aufs Dreieck neben dem eigenen Kalender klicken).
|
||||
</p>
|
||||
|
||||
|
||||
|
@ -99,11 +110,15 @@
|
|||
{% endif %}
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="span3 offset1">
|
||||
<img src="{{STATIC_URL}}/img/google_cal.png">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue