Skip to content
Snippets Groups Projects
Commit 3107621c authored by Thomas Hackl's avatar Thomas Hackl
Browse files

change text for course visibility setting

parent ee4a7921
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.
Finish editing this message first!
Please register or to comment