Skip to content
Snippets Groups Projects
Commit 47a3dc4b authored by Julian Rother's avatar Julian Rother
Browse files

Added autopublish and autovisible to course page

parent 0c3c0a31
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,9 @@ editable_tables = { ...@@ -26,7 +26,9 @@ editable_tables = {
'deleted': {'type': 'boolean'}, 'deleted': {'type': 'boolean'},
'description': {'type': 'text'}, 'description': {'type': 'text'},
'external': {'type': 'boolean', 'description': 'Soll die Veranstaltung nicht im Drehplan angezeigt werden?'}, 'external': {'type': 'boolean', 'description': 'Soll die Veranstaltung nicht im Drehplan angezeigt werden?'},
'coursechapters': {'type': 'boolean', 'description': 'Sollen auf der Kursseite die Kapitelmarker der Videos angezeigt werden?'}}, 'coursechapters': {'type': 'boolean', 'description': 'Sollen auf der Kursseite die Kapitelmarker der Videos angezeigt werden?'},
'autopublish': {'type': 'boolean', 'description': 'Sollen encodete Videos automatisch verschoben werden?'},
'autovisible': {'type': 'boolean', 'description': 'Sollen neue Videos automatisch sichtbar sein?'}},
'creationtime_fields': ['created_by', 'time_created', 'time_updated'] }, 'creationtime_fields': ['created_by', 'time_created', 'time_updated'] },
'lectures': { 'lectures': {
'table': 'lectures_data', 'table': 'lectures_data',
......
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
<tr><td>Gelistet:</td><td>{{ moderator_checkbox(['courses',course.id,'listed'], course.listed) }}</td></tr> <tr><td>Gelistet:</td><td>{{ moderator_checkbox(['courses',course.id,'listed'], course.listed) }}</td></tr>
<tr><td>Nicht im Drehplan:</td><td>{{ moderator_checkbox(['courses',course.id,'external'], course.external) }}</td></tr> <tr><td>Nicht im Drehplan:</td><td>{{ moderator_checkbox(['courses',course.id,'external'], course.external) }}</td></tr>
<tr><td>Videos downloadbar:</td><td>{{ moderator_checkbox(['courses',course.id,'downloadable'], course.downloadable) }}</td></tr> <tr><td>Videos downloadbar:</td><td>{{ moderator_checkbox(['courses',course.id,'downloadable'], course.downloadable) }}</td></tr>
<tr><td>Videos automatisch verschieben:</td><td>{{ moderator_checkbox(['courses',course.id,'autopublish'], course.autopublish) }}</td></tr>
<tr><td>Videos automatisch sichtbar:</td><td>{{ moderator_checkbox(['courses',course.id,'autovisible'], course.autovisible) }}</td></tr>
<tr><td>Kapitel auf Kursseite:</td><td>{{ moderator_checkbox(['courses',course.id,'coursechapters'], course.coursechapters) }}</td></tr> <tr><td>Kapitel auf Kursseite:</td><td>{{ moderator_checkbox(['courses',course.id,'coursechapters'], course.coursechapters) }}</td></tr>
<tr><td>Short:</td><td>{{ moderator_editor(['courses',course.id,'short'], course.short) }}</td></tr> <tr><td>Short:</td><td>{{ moderator_editor(['courses',course.id,'short'], course.short) }}</td></tr>
<tr><td>Handle:</td><td>{{ moderator_editor(['courses',course.id,'handle'], course.handle) }}</td></tr> <tr><td>Handle:</td><td>{{ moderator_editor(['courses',course.id,'handle'], course.handle) }}</td></tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment