chore: removed profile page renderers
This commit is contained in:
@@ -79,7 +79,7 @@ def get_schedule(course, date, batch=None):
|
||||
)
|
||||
|
||||
for slot in booked_slots:
|
||||
same_slot = list(filter(lambda x: x.start_time == slot.start_time and x.day == slot.day, all_slots))
|
||||
same_slot = [x for x in all_slots if x.start_time == slot.start_time and x.day == slot.day]
|
||||
if len(same_slot):
|
||||
all_slots.remove(same_slot[0])
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% set color = get_palette(member.full_name) %}
|
||||
<span class="avatar {{ avatar_class }}" title="{{ member.full_name }}">
|
||||
<a class="button-links" href="{{ get_profile_url(member.username) }}">
|
||||
<a class="button-links" href="/lms/users/{{ member.username }}">
|
||||
{% if member.user_image %}
|
||||
<img class="avatar-frame standard-image" style="object-fit: cover;" src="{{ member.user_image }}"
|
||||
title="{{ member.full_name }}">
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<a class="button-links" href="{{ get_profile_url(instructors[0].username) }}">
|
||||
<a class="button-links" href="/lms/users/{{ instructors[0].username }}">
|
||||
<span class="course-instructor">
|
||||
{% if ins_len == 1 %}
|
||||
{{ instructors[0].full_name }}
|
||||
|
||||
Reference in New Issue
Block a user