change settings parameter name

pull/4067/head
Juan Cortizas Ponte 4 years ago
parent 9fe5bdb3ed
commit 8a3639f349
  1. 2
      main/install/configuration.dist.php
  2. 4
      main/template/default/course_home/about.tpl

@ -2015,7 +2015,7 @@ VALUES (21, 13, 'send_notification_at_a_specific_date', 'Send notification at a
//$_configuration['extldap_config'] = ['host' => '', 'port' => ''];
// Option to hide the teachers info on courses about info page.
//$_configuration['hide_teachers_name_from_course_about_info'] = false;
//$_configuration['course_about_teacher_name_hiden'] = false;
// KEEP THIS AT THE END
// -------- Custom DB changes

@ -1,7 +1,7 @@
<div id="about-course">
<div id="course-info-top">
<h2 class="session-title">{{ course.title }}</h2>
{% if not 'hide_teachers_name_from_course_about_info'|api_get_configuration_value %}
{% if not 'course_about_teacher_name_hiden'|api_get_configuration_value %}
<div class="course-short">
<ul>
<li class="author">{{ "Professors"|get_lang }}</li>
@ -178,7 +178,7 @@
</div>
</div>
{% endif %}
{% if course.teachers and not 'hide_teachers_name_from_course_about_info'|api_get_configuration_value %}
{% if course.teachers and not 'course_about_teacher_name_hiden'|api_get_configuration_value %}
<div class="panel panel-default">
<div class="panel-body">
<div class="panel-teachers">

Loading…
Cancel
Save