fix: course card cleanup
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
|
||||
{% macro CourseCardWide(course) %}
|
||||
<div class="">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="d-flex align-items-center mt-2">
|
||||
{% for tag in get_tags(course.name) %}
|
||||
<div class="course-card-pills">{{ tag }}</div>
|
||||
{% endfor %}
|
||||
@@ -70,7 +70,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="mt-3">
|
||||
<div class="mt-6">
|
||||
<div class="bold-heading">Instructors:</div>
|
||||
{% for instructor in get_instructors(course.name) %}
|
||||
<div class="mt-1">
|
||||
@@ -94,7 +94,7 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="course-overlay-content">
|
||||
<div class="course-home-headings"> {{ course.title }} </div>
|
||||
<div class="course-card-wide-title mb-4"> {{ course.title }} </div>
|
||||
|
||||
<div id="interest-alert" class="{% if not is_user_interested %} hide {% endif %}">
|
||||
{{ _("You have opted to be notified for this course. You will receive an email when the course becomes available.") }}
|
||||
@@ -111,8 +111,7 @@
|
||||
{{ _("Your course is currently under review. Once the review is complete, the System Admins will publish it on the website.") }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if no_of_attempts >= course.max_attempts %}
|
||||
{% if no_of_attempts and no_of_attempts >= course.max_attempts %}
|
||||
<p> {{ _("You have exceeded the maximum number of attempts allowed to appear for evaluations of this course.") }} </p>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user