Skip to content

Commit

Permalink
add helpdesk informing about inability to change editors
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterfarrell9 committed Apr 7, 2024
1 parent d6cd530 commit d38faac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/courses/_basics.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
</div>
<% else %>
<%= t('basics.editors') %>
<%= helpdesk(t('admin.course.info.no_right_to_change_editors',
project_email: mail_to(DefaultSetting::PROJECT_EMAIL, nil)),
true) %>
<ul>
<% course.editors.each do |e| %>
<li>
Expand Down
4 changes: 4 additions & 0 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,10 @@ de:
das Modul bearbeiten, insbesondere können sie Veranstaltungen innerhalb
des Moduls anlegen. ModuleditorInnen erben die Bearbeitungsrechte für
alle Veranstaltungen innerhalb des Moduls.
no_right_to_change_editors: >
ModuleditoInnen können nur von AdministratorInnen geändert werden.
Bitte wende Dich per Email an %{project_email}, wenn hier
eine Änderung vorgenommen werden soll.
preceding_courses: >
Hier kannst Du angeben, auf welchen Modulen das
vorliegende Modul aufbaut.
Expand Down
4 changes: 4 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,10 @@ en:
in particular they can create event series within the course. Every course
editor inherits editing access for all event series belonging to the
course.
no_right_to_change_editors: >
Course editors can only be changed by administrators.
Please contact %{project_email} by email if want a change to be made
here.
preceding_courses: >
Here you can enter which courses this course builds upon.
E.g., Linear Algebra 1 and Linear Algebra 2 might be preceding
Expand Down

0 comments on commit d38faac

Please sign in to comment.