Skip to content
Snippets Groups Projects
Commit 8e58036f authored by Thomas Hackl's avatar Thomas Hackl Committed by Jan-Hendrik Willms
Browse files

change text for course visibility setting

parent 0c419783
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ class Course_ManagementController extends AuthenticatedController
$is_visible = $course->visible;
if ($course->isOpenEnded() || $course->end_semester->visible) {
$actions->addLink(
_('Sichtbarkeit ändern') . ' (' . ($is_visible ? _('sichtbar') : _('unsichtbar')) . ')',
($is_visible ? _('Veranstaltung verstecken') : _('Veranstaltung sichtbar schalten')),
URLHelper::getURL($this->url_for('course/management/change_visibility'), ['studip_ticket' => Seminar_Session::get_ticket()]),
Icon::create('visibility-' . ($is_visible ? 'visible' : 'invisible'))
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment