chore: removed profile page renderers

This commit is contained in:
Jannat Patel
2025-08-11 19:34:22 +05:30
parent 10d29d3a3f
commit b274900ae0
6 changed files with 5 additions and 9 deletions
@@ -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 -1
View File
@@ -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 }}">
+1 -1
View File
@@ -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 }}