fix: course outline, discussion, lms batch
This commit is contained in:
@@ -24,16 +24,16 @@
|
||||
|
||||
{% macro Messages(messages) %}
|
||||
{% for message in messages %}
|
||||
<li class="discussion {% if message.is_author %} ours {% endif %}">
|
||||
<li class="{% if message.is_author %} ours {% endif %}">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="font-weight-bold">
|
||||
{{ message.author_name }}
|
||||
</div>
|
||||
<div class="text-muted">
|
||||
<small class="">
|
||||
{{ frappe.utils.format_datetime(message.creation, "dd-mm-yyyy HH:mm") }}
|
||||
</div>
|
||||
</small>
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<div class="message-para">
|
||||
{{ message.message }}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% extends "templates/base.html" %}
|
||||
{% block title %}About{% endblock %}
|
||||
{% block title %}Batch{% endblock %}
|
||||
{% block head_include %}
|
||||
<meta name="description" content="Courses" />
|
||||
<meta name="keywords" content="" />
|
||||
@@ -20,7 +20,6 @@
|
||||
</div>
|
||||
<h2>Batch Details</h2>
|
||||
{{ frappe.utils.md_to_html(batch.description) }}
|
||||
{{ ConnectWithBatch(batch) }}
|
||||
|
||||
|
||||
</div>
|
||||
@@ -45,13 +44,3 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro ConnectWithBatch(batch)%}
|
||||
<h2>Connect with your Batch</h2>
|
||||
<p>
|
||||
Reach out on <a href="{{ batch.telegram_link }}">Telegram</a>.
|
||||
</p>
|
||||
<p>
|
||||
Join the <a href="{{ batch.video_call_link }}">Online Class</a>.
|
||||
</p>
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user