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 @@ ...@@ -35,6 +35,14 @@
<div class="info-item history-field-container"> <div class="info-item history-field-container">
<div class="heading"> <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" %} {% trans "Brief Description" %}
</div> </div>
<div class="current short_description">{{ object.short_description }}</div> <div class="current short_description">{{ object.short_description }}</div>
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
{% trans "Course Name" %} {% trans "Course Name" %}
</th> </th>
<th role="button"> <th role="button">
{% trans "Course Number" %}
</th>
<th role="button">
{% trans "Institution" %} {% trans "Institution" %}
</th> </th>
<th role="button"> <th role="button">
...@@ -26,6 +29,9 @@ ...@@ -26,6 +29,9 @@
<a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a> <a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a>
</td> </td>
<td> <td>
{{ course_run.number }}
</td>
<td>
{% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %} {% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %}
</td> </td>
<td> <td>
......
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
{% trans "Course Name" %} {% trans "Course Name" %}
</th> </th>
<th role="button"> <th role="button">
{% trans "Course Number" %}
</th>
<th role="button">
{% trans "Organization" %} {% trans "Organization" %}
</th> </th>
<th role="button"> <th role="button">
...@@ -28,6 +31,9 @@ ...@@ -28,6 +31,9 @@
<a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a> <a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a>
</td> </td>
<td> <td>
{{ course_run.number }}
</td>
<td>
{% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %} {% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %}
</td> </td>
<td> <td>
......
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
{% trans "Course Name" %} {% trans "Course Name" %}
</th> </th>
<th role="button"> <th role="button">
{% trans "Course Number" %}
</th>
<th role="button">
{% trans "Organization" %} {% trans "Organization" %}
</th> </th>
<th role="button"> <th role="button">
...@@ -37,6 +40,9 @@ ...@@ -37,6 +40,9 @@
<a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a> <a href="{% url 'publisher:publisher_course_run_detail' course_run.id %}">{{ course_run.title }}</a>
</td> </td>
<td> <td>
{{ course_run.number }}
</td>
<td>
{% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %} {% if course_run.course.organizations.first %}{{ course_run.course.organizations.first.name }}{% endif %}
</td> </td>
<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