Commit 69b03e63 by tasawernawaz Committed by Tasawer Nawaz

Add course number on dashboad and course details page ECOM-6966

parent b032a2f6
......@@ -35,6 +35,14 @@
<div class="info-item history-field-container">
<div class="heading">
{% trans "Course Number" %}
</div>
<div class="current number">{{ object.number }}</div>
<div class="show-diff"></div>
</div>
<div class="info-item history-field-container">
<div class="heading">
{% trans "Brief Description" %}
</div>
<div class="current short_description">{{ object.short_description }}</div>
......
......@@ -9,6 +9,9 @@
{% trans "Course Name" %}
</th>
<th role="button">
{% trans "Course Number" %}
</th>
<th role="button">
{% trans "Institution" %}
</th>
<th role="button">
......@@ -26,6 +29,9 @@
<a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a>
</td>
<td>
{{ course_run.number }}
</td>
<td>
{% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %}
</td>
<td>
......
......@@ -11,6 +11,9 @@
{% trans "Course Name" %}
</th>
<th role="button">
{% trans "Course Number" %}
</th>
<th role="button">
{% trans "Organization" %}
</th>
<th role="button">
......@@ -28,6 +31,9 @@
<a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a>
</td>
<td>
{{ course_run.number }}
</td>
<td>
{% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %}
</td>
<td>
......
......@@ -14,6 +14,9 @@
{% trans "Course Name" %}
</th>
<th role="button">
{% trans "Course Number" %}
</th>
<th role="button">
{% trans "Organization" %}
</th>
<th role="button">
......@@ -37,6 +40,9 @@
<a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a>
</td>
<td>
{{ course_run.number }}
</td>
<td>
{% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %}
</td>
<td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment