Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes url target for 'View List' link in teacherreg

  • Loading branch information...
commit 1e96086cafed4f16356cdd7af078f294ef2fe57b 1 parent a82a57b
@jmoldow jmoldow authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 esp/templates/inclusion/program/class_teacher_list_row.html
View
4 esp/templates/inclusion/program/class_teacher_list_row.html
@@ -104,8 +104,8 @@
</td>
<td class="clsmiddle" valign="top" colspan="3">Room: {% if sec.initial_rooms %}{% for r in sec.initial_rooms %}{{ r.name }}{% if not forloop.last %}, {% endif %}{% endfor %}{% else %}Unassigned{% endif %} <br />Time: {% if sec.friendly_times|length_is:0 %}Unassigned{% else %}{% if friendly_times_with_date %}{% for f in sec.friendly_times_with_date %}{{ f }}{% endfor %}{% else %}{% for f in sec.friendly_times %}{{ f }}{% endfor %}{% endif%}{% endif %}</td>
<td class="clsmiddle" valign="top">{{ sec.num_students }} / {{ sec.capacity }} students
- <br />(<a href="/teach/{{ one }}/{{ two }}/section_students/{{ sec.id }}">view list</a>)
- <!-- (<a href="/teach/{{ one }}/{{ two }}/select_students/{{ sec.id }}">enroll/reject</a>) --> </td>
+ <br />(<a href="/teach/{{ program.getUrlBase }}/section_students/{{ sec.id }}">view list</a>)
+ </td>
{% block cls_row_5_buttons %}
<td class="clsright" valign="top"><a class="abutton" href="mailto:{{ sec.emailcode }}-students@{{ request.META.HTTP_HOST }}">E-mail students</a></td>
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.