Skip to content
Snippets Groups Projects
Commit b7e12497 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

list of subjects contain information about postponed subjects and info

about country and language is removed
parent 3f3d6f21
No related branches found
No related tags found
1 merge request!10Resolve "LIH data processing"
<tfoot>
<tr>
<th colspan="7" class="ts-pager form-inline">
<th colspan="8" class="ts-pager form-inline">
<div class="btn-group btn-group-sm" role="group">
<button type="button" class="btn btn-default first"><span class="glyphicon glyphicon-step-backward"></span></button>
<button type="button" class="btn btn-default prev"><span class="glyphicon glyphicon-backward"></span></button>
......@@ -19,4 +19,4 @@
<select class="form-control input-sm pagenum" title="Select page number"></select>
</th>
</tr>
</tfoot>
\ No newline at end of file
</tfoot>
......@@ -34,11 +34,10 @@
<th>Screening</th>
<th>First name</th>
<th>Last name</th>
<th>Country</th>
<th data-sorter="false" data-filter="false">Languages</th>
<th class="filter-select filter-exact" data-placeholder="Select location">Default location</th>
<th>Dead</th>
<th>Resigned</th>
<th>Postponed</th>
<th>Edit</th>
</tr>
</thead>
......@@ -52,17 +51,10 @@
<td>{{ subject.screening_number }}</td>
<td>{{ subject.first_name }}</td>
<td>{{ subject.last_name }}</td>
<td>{{ subject.country }}</td>
<td>
{% autoescape off %}
{% for language in subject.languages.all %}
{{language.image_img}}
{% endfor %}
{% endautoescape %}
</td>
<td>{{ subject.get_default_appointment_location_display }}</td>
<td>{% if subject.dead %} YES {% else %} NO {% endif %} </td>
<td>{% if subject.resigned %} YES {% else %} NO {% endif %} </td>
<td>{% if subject.postponed %} YES {% else %} NO {% endif %} </td>
<td><a href="{% url 'web.views.subject_edit' subject.id %}" type="button" class="btn btn-block btn-default">Edit</a></td>
</tr>
{% endfor %}
......@@ -94,10 +86,7 @@
filter_cssFilter: "form-control",
},
headers: {
5: { sorter: false},
8: { sorter: false},
9: { sorter: false},
10: { sorter: false}
0: { sorter: true},
}
}).tablesorterPager({
container: $(".ts-pager"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment