Add the Event.visibility field

This shows if the event is visible to anyone or just people who are invited.

The calendar view already respects this flag.
This commit is contained in:
2018-07-16 12:12:35 +02:00
parent f2f7ef72dd
commit a862e6ca5d
4 changed files with 66 additions and 2 deletions

View File

@@ -19,6 +19,7 @@
{{ field(form.end_time) }}
{{ field(form.all_day) }}
{{ field(form.description) }}
{{ field(form.visibility) }}
<button type="submit" class="ui primary button">{% trans %}Save{% endtrans %}</button>
<a href="{{ url_for('hello') }}" class="ui button">Cancel</a>