diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 44c334fd3a..2b76ccb8bb 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -100,8 +100,7 @@ a.thumbnail:hover{ cursor: pointer; } .invisible { - visibility: hidden; - display: none; + visibility: visible; } .logo{ margin-bottom: 20px; @@ -4728,15 +4727,14 @@ div#chat-remote-video video { box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05); text-align: left; background-color: #fff; - min-height: 260px; + min-height: 250px; border: 1px solid #DFDFDF; border-radius: 5px; + margin-bottom: 20px; } -.courses-grid-catalog{ - min-height: 340px !important; -} -.hot-courses .grid-courses .items{ - min-height: 300px; +.grid-courses .items.items-courses, +.grid-courses .items.items-hotcourse{ + min-height: 300px; } .grid-courses .items .title{ line-height: 1.4; @@ -4744,7 +4742,6 @@ div#chat-remote-video video { margin: 5px; font-size: 14px; font-weight: bold; - min-height: 50px; } .grid-courses .items .toolbar{ text-align: right; @@ -4791,13 +4788,6 @@ div#chat-remote-video video { padding-top: 5px; text-align: center; } -.grid-courses .items .buycourses-price{ - margin-top: 5px; - text-align: left; -} -.grid-courses .items .separator{ - margin-top: 5px; -} .grid-courses .items .admin-actions, .grid-courses .items .user-actions{ position: absolute; bottom: 0px; @@ -5299,13 +5289,9 @@ div#chat-remote-video video { margin-bottom: 5px; } .hot-course-head{ - padding-top: 10px; - padding-bottom: 10px; -} -.hot-course-head .hot-course-title{ - padding-bottom: 10px; - border-bottom: 1px solid #E5E5E5; - font-size: 21px; + padding-top: 10px; + margin-bottom: 10px; + padding-bottom: 10px; } .create-groups .separate td{ padding-left: 15px; diff --git a/app/cache/.htaccess b/app/cache/.htaccess old mode 100644 new mode 100755 diff --git a/main/img/icons/svg/attendance.svg b/main/img/icons/svg/attendance.svg index fc4be4861c..4a3d2d5c17 100644 --- a/main/img/icons/svg/attendance.svg +++ b/main/img/icons/svg/attendance.svg @@ -17,14 +17,14 @@ id="svg1" xml:space="preserve" sodipodi:version="0.32" - inkscape:version="0.91 r" + inkscape:version="0.91 r13725" sodipodi:docname="attendance.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape">image/svg+xml + style="fill:none" /> \ No newline at end of file diff --git a/main/img/icons/svg/attendance_na.svg b/main/img/icons/svg/attendance_na.svg new file mode 100644 index 0000000000..988b32a37b --- /dev/null +++ b/main/img/icons/svg/attendance_na.svg @@ -0,0 +1,985 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index 7db90be40a..729be5ba5f 100755 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -1680,9 +1680,9 @@ class Display $labels[]= $number_of_users_who_voted == 1 ? $number_of_users_who_voted.' '.get_lang('Vote') : $number_of_users_who_voted.' '.get_lang('Votes'); $labels[]= $accesses == 1 ? $accesses.' '.get_lang('Visit') : $accesses.' '.get_lang('Visits'); - if (!empty($number_of_users_who_voted)) { + /* if (!empty($number_of_users_who_voted)) { $labels[]= get_lang('Average').' '.$point_info['point_average_star'].'/5'; - } + } */ $labels[]= $point_info['user_vote'] ? get_lang('YourVote').' ['.$point_info['user_vote'].']' : get_lang('YourVote'). ' [?] '; diff --git a/main/template/default/auth/courses_categories.php b/main/template/default/auth/courses_categories.php index 0f71983d97..0fb4b77177 100755 --- a/main/template/default/auth/courses_categories.php +++ b/main/template/default/auth/courses_categories.php @@ -217,7 +217,7 @@ if ($showCourses && $action != 'display_sessions') { $html = null; // display the course bloc - $html .= '
'; + $html .= '
'; // display thumbnail $html .= returnThumbnail($course); @@ -243,10 +243,13 @@ if ($showCourses && $action != 'display_sessions') { // display course title and button bloc $html .= '
'; $html .= return_title($course); - $html .= $separator; // display button line $html .= '
'; + $html .= '
'; + $html .= $separator; + $html .= '
'; + $html .= '
'; $html .= '
'; // if user registered as student if ($user_registerd_in_course_as_student) { @@ -280,6 +283,7 @@ if ($showCourses && $action != 'display_sessions') { $html .= '
'; $html .= '
'; $html .= '
'; + $html .= '
'; echo $html; } diff --git a/main/template/default/layout/hot_course_item.tpl b/main/template/default/layout/hot_course_item.tpl index 5da229ee24..751652cd3c 100755 --- a/main/template/default/layout/hot_course_item.tpl +++ b/main/template/default/layout/hot_course_item.tpl @@ -1,7 +1,7 @@ {% for item in hot_courses %} {% if item.title %}
-
+
{% if item.categoryName != '' %} @@ -36,16 +36,18 @@
{{ item.rating_html }}
- {% if item.price %} - {{ item.price }} - {% else %} -
 
- {% endif %}
-
- {{ item.register_button }} - {{ item.unsubscribe_button }} - {{ item.already_register_as }} +
+ {% if item.price %} + {{ item.price }} + {% endif %} +
+
+
+ {{ item.register_button }} + {{ item.unsubscribe_button }} + {{ item.already_register_as }} +
diff --git a/main/template/default/layout/hot_courses.tpl b/main/template/default/layout/hot_courses.tpl index ec8ea50386..f7c66df3aa 100755 --- a/main/template/default/layout/hot_courses.tpl +++ b/main/template/default/layout/hot_courses.tpl @@ -27,7 +27,7 @@ $(document).ready( function() { {% if _u.is_admin %} - + {% endif %}