|
8 | 8 | {% if not 'course_about_teacher_name_hide'|api_get_configuration_value %} |
9 | 9 | <div class="course-short mt-2"> |
10 | 10 | <ul> |
11 | | - <li class="author">{{ "Professors"|trans }}:</li> |
| 11 | + <li class="author">{{ "Teachers"|trans }}:</li> |
12 | 12 | {% for teacher in teachers %} |
13 | 13 | <li>{{ teacher.complete_name }}{% if not loop.last %} |{% endif %}</li> |
14 | 14 | {% endfor %} |
|
46 | 46 | <a href="https://www.facebook.com/sharer/sharer.php?u={{ url }}" target="_blank" class="facebook"> |
47 | 47 | <em class="fab fa-facebook-square"></em> Facebook |
48 | 48 | </a> |
49 | | - <a href="https://twitter.com/home?{{ {'status': course.title ~ ' ' ~ url }|url_encode }}" target="_blank" class="twitter"> |
| 49 | + <a href="https://x.com/home?{{ {'status': course.title ~ ' ' ~ url }|url_encode }}" target="_blank" class="twitter"> |
50 | 50 | <em class="fab fa-twitter"></em> Twitter |
51 | 51 | </a> |
52 | 52 | <a href="https://www.linkedin.com/shareArticle?{{ {'mini': 'true', 'url': url , 'title': course.title }|url_encode }}" target="_blank" class="linkedin"> |
|
92 | 92 | {% if not is_granted('IS_AUTHENTICATED') %} |
93 | 93 | {% if 'allow_registration'|api_get_setting != 'false' %} |
94 | 94 | <a href="{{ base_url ~ '/main/auth/registration.php?c=' ~ course.code }}" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700"> |
95 | | - <i class="fa fa-pencil" aria-hidden="true"></i> {{ 'Sign Up'|trans }} |
| 95 | + <i class="fa fa-pencil" aria-hidden="true"></i> {{ 'Sign up'|trans }} |
96 | 96 | </a> |
97 | 97 | {% endif %} |
98 | 98 | {% elseif subscription %} |
99 | | - <a href="{{ base_url }}/course/{{ course.id }}/home?sid=0" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700">{{ 'Course Homepage'|trans }}</a> |
| 99 | + <a href="{{ base_url }}/course/{{ course.id }}/home?sid=0" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700">{{ 'Course homepage'|trans }}</a> |
100 | 100 | {% elseif allow_subscribe %} |
101 | 101 | <a href="{{ base_url }}/main/auth/registration.php?c={{ course.code }}" class="btn btn--success w-full py-2 mt-2 text-white bg-green-600 rounded hover:bg-green-700">{{ 'Subscribe'|trans }}</a> |
102 | 102 | {% else %} |
103 | 103 | <button class="btn btn--success w-full py-2 mt-2 text-white bg-gray-400 rounded" title="{{ 'Subscription is not allowed for this course'|trans }}" disabled> |
104 | | - {{ 'Subscription Not Available'|trans }} |
| 104 | + {{ 'Subscription not allowed'|trans }} |
105 | 105 | </button> |
106 | 106 | {% endif %} |
107 | 107 | </div> |
|
114 | 114 | {{ is_premium.iso_code }} {{ is_premium.price }} |
115 | 115 | </div> |
116 | 116 | <div class="buy-box mt-2"> |
117 | | - <a href="{{ base_url }}/plugin/BuyCourses/src/process.php?i={{ is_premium.product_id }}&t={{ is_premium.product_type }}" class="btn btn--primary w-full py-2 mt-2 text-white bg-blue-600 rounded hover:bg-blue-700">{{ 'Buy Now'|trans }}</a> |
| 117 | + <a href="{{ base_url }}/plugin/BuyCourses/src/process.php?i={{ is_premium.product_id }}&t={{ is_premium.product_type }}" class="btn btn--primary w-full py-2 mt-2 text-white bg-blue-600 rounded hover:bg-blue-700">{{ 'Buy now'|trans }}</a> |
118 | 118 | </div> |
119 | 119 | </div> |
120 | 120 | {% endif %} |
|
152 | 152 | $('.course-information').readmore({ |
153 | 153 | speed: 100, |
154 | 154 | lessLink: '<a class="hide-content" href="#">{{ 'Set invisible' | trans }}</a>', |
155 | | - moreLink: '<a class="read-more" href="#">{{ 'Read more' | trans }}</a>', |
| 155 | + moreLink: '<a class="read-more" href="#">{{ 'Read more...' | trans }}</a>', |
156 | 156 | collapsedHeight: 730, |
157 | 157 | heightMargin: 100 |
158 | 158 | }); |
159 | 159 | $('.open-more').readmore({ |
160 | 160 | speed: 100, |
161 | 161 | lessLink: '<a class="hide-content" href="#">{{ 'Set invisible' | trans }}</a>', |
162 | | - moreLink: '<a class="read-more" href="#">{{ 'Read more' | trans }}</a>', |
| 162 | + moreLink: '<a class="read-more" href="#">{{ 'Read more...' | trans }}</a>', |
163 | 163 | collapsedHeight: 90, |
164 | 164 | heightMargin: 20 |
165 | 165 | }); |
|
0 commit comments