Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Karwacik
website
Commits
47a3dc4b
Commit
47a3dc4b
authored
Dec 13, 2017
by
Julian Rother
Browse files
Added autopublish and autovisible to course page
parent
0c3c0a31
Changes
2
Hide whitespace changes
Inline
Side-by-side
edit.py
View file @
47a3dc4b
...
...
@@ -26,7 +26,9 @@ editable_tables = {
'deleted'
:
{
'type'
:
'boolean'
},
'description'
:
{
'type'
:
'text'
},
'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'
]
},
'lectures'
:
{
'table'
:
'lectures_data'
,
...
...
templates/course.html
View file @
47a3dc4b
...
...
@@ -43,6 +43,8 @@
<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>
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>
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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment