Forráskód Böngészése

Plugin: buycourse: remove confusing visibility icon for sessions (initially copied from courses where visibility really applies)

Yannick Warnier 6 éve
szülő
commit
c55580c022
1 módosított fájl, 0 hozzáadás és 19 törlés
  1. 0 19
      plugin/buycourses/view/configuration.tpl

+ 0 - 19
plugin/buycourses/view/configuration.tpl

@@ -101,25 +101,6 @@
                     {% for item in sessions %}
                         <tr data-item="{{ item.session_id }}" data-type="session">
                             <td>
-                                {% if item.session_visibility == 0 %}
-                                    <img src="{{ 'bullet_red.png'|icon() }}"
-                                         alt="{{ 'CourseVisibilityClosed'|get_lang }}"
-                                         title="{{ 'CourseVisibilityClosed'|get_lang }}">
-                                {% elseif item.session_visibility == 1 %}
-                                    <img src="{{ 'bullet_orange.png'|icon() }}" alt="{{ 'Private'|get_lang }}"
-                                         title="{{ 'Private'|get_lang }}">
-                                {% elseif item.session_visibility == 2 %}
-                                    <img src="{{ 'bullet_green.png'|icon() }}" alt="{{ 'OpenToThePlatform'|get_lang }}"
-                                         title="{{ 'OpenToThePlatform'|get_lang }}">
-                                {% elseif item.session_visibility == 3 %}
-                                    <img src="{{ 'bullet_blue.png'|icon() }}" alt="{{ 'OpenToTheWorld'|get_lang }}"
-                                         title="{{ 'OpenToTheWorld'|get_lang }}">
-                                {% elseif item.session_visibility == 4 %}
-                                    <img src="{{ 'bullet_gray.png'|icon() }}"
-                                         alt="{{ 'CourseVisibilityHidden'|get_lang }}"
-                                         title="{{ 'CourseVisibilityHidden'|get_lang }}">
-                                {% endif %}
-
                                 <a href="{{ _p.web_main ~ 'session/index.php?' ~ {'session_id': item.session_id}|url_encode() }}">{{ item.session_name }}</a>
                             </td>
                             <td class="text-center">