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 {
|
.with_comment {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
font-weight: 900;
|
||||||
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
.usernameHeader {
|
.usernameHeader {
|
||||||
font-size:10px;
|
font-size:10px;
|
||||||
|
@ -210,11 +212,16 @@
|
||||||
<span class="badge badge-important eventButton" title="{{p.comment}}" data-status="{{p.status}}">
|
<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 class="text {% if p.comment %}with_comment{% endif %}">Nein</span>
|
||||||
</span>
|
</span>
|
||||||
{% else %}
|
{% elif p.status == "?" %}
|
||||||
<span class="badge badge-warning eventButton" title="{{p.comment}}" data-status="{{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 class="text {% if p.comment %}with_comment{% endif %}">?</span>
|
||||||
</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 %}
|
{% endif %}
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -108,10 +108,17 @@ def buildGCalEvent( event, timezone="Europe/Berlin" ):
|
||||||
else:
|
else:
|
||||||
endTime = datetime.time( 22, 30 )
|
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 {
|
return {
|
||||||
'summary': unicode(settings.GCAL_COUPLING['eventPrefix'] + event.title),
|
'summary': unicode(settings.GCAL_COUPLING['eventPrefix'] + event.title),
|
||||||
'description': unicode(event.desc),
|
'description': unicode(event.desc),
|
||||||
'location': unicode(event.location),
|
'location': gLocation,
|
||||||
'start': createDateTimeObj( startDate, startTime ),
|
'start': createDateTimeObj( startDate, startTime ),
|
||||||
'end' : createDateTimeObj( endDate, endTime ),
|
'end' : createDateTimeObj( endDate, endTime ),
|
||||||
'extendedProperties': {
|
'extendedProperties': {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -68,11 +68,22 @@
|
||||||
<h5>NEU</h5>
|
<h5>NEU</h5>
|
||||||
Die Blechreiz Termine können jetzt automatisch in den eigenen Google Kalender übernommen werden.
|
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.
|
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>
|
</p>
|
||||||
|
|
||||||
|
<img src="{{STATIC_URL}}/img/screenshot.png">
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<h5>SO GEHTS:</h5>
|
<h5>SO GEHTS:</h5>
|
||||||
Einfach die eigene Google Mail Adresse angeben und die Kopplung aktivieren.
|
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>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,11 +110,15 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="span3 offset1">
|
<div class="span3 offset1">
|
||||||
<img src="{{STATIC_URL}}/img/google_cal.png">
|
<img src="{{STATIC_URL}}/img/google_cal.png">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue