perf: course cards get all memberships at once

This commit is contained in:
Jannat Patel
2022-09-29 16:59:08 +05:30
parent 41a9e422d5
commit 246b26079b
9 changed files with 82 additions and 47 deletions

View File

@@ -1,13 +1,20 @@
{% extends "templates/base.html" %}
{% block title %}{{ 'Courses' }}{% endblock %}
{% block title %}
{{ 'Courses' }}
{% endblock %}
{% block head_include %}
{% include "public/icons/symbol-defs.svg" %}
{% endblock %}
{% block content %}
<div class="common-page-style">
<div class="container">
{% if restriction.restrict %}
{% if restriction %}
{% set profile_link = "<a href='/edit-profile'> profile </a>" %}
<div class="empty-state">
<div class="course-home-headings text-center mb-0" style="color: inherit;">