Skip to content
Snippets Groups Projects
Commit ea07889f authored by Simon Künzel's avatar Simon Künzel
Browse files

Add location to lecture view

parent 9a5af1cf
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,7 @@ ui.generic.search = "Suche"
ui.generic.login = "Anmelden"
ui.generic.close = "Schließen"
ui.generic.lecture_given_by = "Gehalten von"
ui.generic.lecture_location = "Ort"
// ui.generic.livestream_planned = #object.lecture.livestream_planned
// ui.generic.livestream_live = "Live"
// ui.generic.object_invisible = "This object is invisible to regular users" // mir ist keine schöne Übersetzung eingefallen
......
......@@ -160,6 +160,7 @@ ui.generic.search = "Search"
ui.generic.login = "Login"
ui.generic.close = "Close"
ui.generic.lecture_given_by = "Given by"
ui.generic.lecture_location = "Location"
ui.generic.livestream_planned = #object.lecture.livestream_planned
ui.generic.livestream_live = "Live"
ui.generic.object_invisible = "This object is invisible to regular users"
......
......@@ -108,6 +108,19 @@ export function LectureListItem({
/>
</li>
)}
{(editMode) && (
<li>
{language.get("ui.generic.lecture_location")}{": "}
<EmbeddedOMFieldComponent
object_type="lecture"
object_id={lecture.id!}
field_id="location"
field_type="string"
initialValue={lecture.location}
inline
/>
</li>
)}
<li>
<EmbeddedOMFieldComponent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment