Skip to content

Commit

Permalink
Merge branch 'issue-27' into 3.3-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
moacirmoda committed Oct 31, 2016
2 parents 54b2ef9 + 74a947e commit 65bd9b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 3 additions & 7 deletions themes/default/templates/class_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</div>

<div class="row">
<div class="col-xs-9">
<div class="col-xs-12">
<div class="professor-assistant">
<label for="{{ form.assistant.id_for_label }}">{% trans 'Assistant Professor' %}:</label>
{% if user|is_course_coordinator:object.course %}
Expand All @@ -66,15 +66,10 @@
{% endif %}
</div>
</div>
<div class="col-xs-3">
<a class="btn btn-lg btn-danger uppercase"
href="{% url 'course-evaluations' object.course.slug %}#/class-evaluations/{{ object.id }}">
{% trans 'Certification' %}
</a>
</div>
</div>
</header>

{% block class_edit_allow_certification %}
<div class="alert row" role="alert"
ng-class="{'alert-info': classe.user_can_certificate, 'alert-danger': !classe.user_can_certificate}">
<div class="col-xs-8">
Expand All @@ -100,6 +95,7 @@
</div>
</div>
</div>
{% endblock %}

<div class="row">
<div class="col-lg-12">
Expand Down
3 changes: 3 additions & 0 deletions themes/timtec/templates/class_edit.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends "default:class_edit.html" %}

{% block class_edit_allow_certification %}{% endblock %}

0 comments on commit 65bd9b9

Please sign in to comment.