Adding new teacher.png icons + adding icon in the course list see #4586

skala
Julio Montoya 14 years ago
parent 50065b8b81
commit 66db467df7
  1. 4
      main/css/base.css
  2. BIN
      main/img/icons/16/teacher.png
  3. BIN
      main/img/icons/22/teacher.png
  4. 6
      main/inc/lib/course.lib.php

@ -3622,4 +3622,8 @@ a.forum_group_link {
height: 600px !important;
position: relative !important;
z-index: 100;
}
#main_content .course_item {
padding: 5px 0px 5px 0px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -2788,7 +2788,7 @@ class CourseManager {
$html = '';
$class = "well";
if ($is_sub_content) {
$class = "";
$class = "course_item";
}
$html .= '<div class="'.$class.'">';
$html .= '<div class="row">';
@ -2796,10 +2796,10 @@ class CourseManager {
$html .= '<div class="span6">';
$html .= '<h4>'.$params['title'].$params['notifications'].'</h4>';
if (!empty($params['teachers'])) {
$html .= '<h5>'.$params['teachers'].'</h5>';
$html .= '<h5>'.Display::return_icon('teacher.png', get_lang('Teacher'), array(), ICON_SIZE_TINY).$params['teachers'].'</h5>';
}
if (!empty($params['coaches'])) {
$html .= '<h5>'.$params['coaches'].'</h5>';
$html .= '<h5>'.Display::return_icon('teacher.png', get_lang('Coach'), array(), ICON_SIZE_TINY).$params['coaches'].'</h5>';
}
$html .= '</div>';
$html .= '<div class="span1 pull-right">'.$params['right_actions'].'</div>';

Loading…
Cancel
Save