Commit f3547551df093eae99d794b96805817f8f878c45

Authored by Matheus Lins
1 parent 4d667d76

some modifications in subject's index template

Showing 1 changed file with 15 additions and 5 deletions   Show diff stats
courses/templates/subject/index.html
@@ -61,11 +61,21 @@ @@ -61,11 +61,21 @@
61 </div> 61 </div>
62 </div> 62 </div>
63 <div class="panel-body"> 63 <div class="panel-body">
64 - <p>  
65 - {{subject.description|linebreaks}}  
66 - </p>  
67 - </div>  
68 - </div> 64 + <p><b>Professor:</b> {{subject.professors}}</p>
  65 + <p>
  66 + <b>Description:</b>
  67 + {{subject.description|linebreaks}}
  68 + </p>
  69 + <div class="row">
  70 + <div class="col-xs-6 col-md-6">
  71 + <p><b>Begining:</b> {{subject.init_date}}</p>
  72 + </div>
  73 + <div class="col-xs-6 col-md-6">
  74 + <p><b>End:</b> {{subject.end_date}}</p>
  75 + </div>
  76 + </div>
  77 + </div>
  78 + </div>
69 79
70 {% for topic in topics %} 80 {% for topic in topics %}
71 {% if user|has_role:'system_admin' or topic.owner == user%} 81 {% if user|has_role:'system_admin' or topic.owner == user%}