Commit 03c56fbf authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos
Browse files

More minor template fixes on auth_port

parent 6fbdf3f8
......@@ -47,9 +47,9 @@
</div>
{% if institution.ertype == 1 or institution.ertype == 3 %}
<div class="control-group">
<label class="control-label" for="id_port">{% trans "Port" %}</label>
<label class="control-label" for="id_port">{% trans "Authentication Port" %}</label>
<div class="controls">
{{ server.port }}
{{ server.auth_port }}
</div>
</div>
<div class="control-group">
......
......@@ -117,7 +117,7 @@ $("#delserverSubmit").click(function(){
<tr>
<th>{% trans "Name" %}</th>
<th>{% trans "Type" %}</th>
<th>{% trans "Port" %}</th>
<th>{% trans "Authentication Port" %}</th>
<th>{% trans "Protocol" %}</th>
<th style="text-align: center;">{% trans "Action" %}</th>
</tr>
......@@ -128,7 +128,7 @@ $("#delserverSubmit").click(function(){
<tr class="GradeC">
<td><a href = "{% url servers server.pk %}">{{server.get_name}}</a></td>
<td>{{server.get_ertype_display}}</td>
<td>{{server.port}}</td>
<td>{{server.auth_port}}</td>
<td>{{server.proto}}</td>
<td style="text-align: center;"><a href="{% url edit-servers server.pk %}" class="btn btn-small">{% trans "edit" %}</a> <a href="#" id="del_server_{{server.pk}}" data-servername="{{server.get_name}}" class="btn btn-small btn-warning">{% trans "delete" %}</a></td>
</tr>
......
......@@ -56,7 +56,7 @@ $(document).ready(function() {
</div>
{% if institution.ertype == 1 or institution.ertype == 3 %}
<div class="control-group {% if form.auth_port.errors %} error {% endif %}">
<label class="control-label" for="id_auth_port"><b>{% trans "Auth Port" %}</b></label>
<label class="control-label" for="id_auth_port"><b>{% trans "Authentication Port" %}</b></label>
<div class="controls">
{{ form.auth_port }}
{% if form.auth_port.errors %} <span class="help-inline"> {{ form.auth_port.errors|join:", " }} </span>
......
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