mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-20 09:40:16 -04:00
fix(profile): remove extraneous <tr>
This commit is contained in:
parent
117ea19a17
commit
eea1c2d59c
|
@ -34,32 +34,30 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
{% for decision in decisions_list %}
|
||||||
{% for decision in decisions_list %}
|
<tr>
|
||||||
<tr>
|
<td>{{ decision.college.name }}</td>
|
||||||
<td>{{ decision.college.name }}</td>
|
<td>{{ decision.get_decision_type_display }}</td>
|
||||||
<td>{{ decision.get_decision_type_display }}</td>
|
<td>{{ decision.get_admission_status_display }}{% if request.user.attending_decision == decision %}, Attending{% endif %}</td>
|
||||||
<td>{{ decision.get_admission_status_display }}{% if request.user.attending_decision == decision %}, Attending{% endif %}</td>
|
<td>
|
||||||
<td>
|
{# edit button #}
|
||||||
{# edit button #}
|
<a href="{% url "profile:decision_edit" decision.id %}" class="btn btn-outline-warning" aria-label="Edit">
|
||||||
<a href="{% url "profile:decision_edit" decision.id %}" class="btn btn-outline-warning" aria-label="Edit">
|
<i class="fas fa-pencil-alt"></i>
|
||||||
<i class="fas fa-pencil-alt"></i>
|
</a>
|
||||||
</a>
|
{# delete #}
|
||||||
{# delete #}
|
<a href="{% url "profile:decision_delete" decision.id %}" class="btn btn-outline-danger" aria-label="Delete">
|
||||||
<a href="{% url "profile:decision_delete" decision.id %}" class="btn btn-outline-danger" aria-label="Delete">
|
<i class="far fa-trash-alt"></i>
|
||||||
<i class="far fa-trash-alt"></i>
|
</a>
|
||||||
</a>
|
</td>
|
||||||
</td>
|
</tr>
|
||||||
</tr>
|
{% empty %}
|
||||||
{% empty %}
|
<tr>
|
||||||
<tr>
|
<td>There is no data to display.</td>
|
||||||
<td>There is no data to display.</td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
</tr>
|
||||||
</tr>
|
{% endfor %}
|
||||||
{% endfor %}
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -85,30 +83,28 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
{% for score in test_scores_list %}
|
||||||
{% for score in test_scores_list %}
|
<tr>
|
||||||
<tr>
|
<td>{{ score.get_exam_type_display }}</td>
|
||||||
<td>{{ score.get_exam_type_display }}</td>
|
<td>{{ score.exam_score }}</td>
|
||||||
<td>{{ score.exam_score }}</td>
|
<td>
|
||||||
<td>
|
{# edit button #}
|
||||||
{# edit button #}
|
<a href="{% url "profile:testscores_edit" score.id %}" class="btn btn-outline-warning" aria-label="Edit">
|
||||||
<a href="{% url "profile:testscores_edit" score.id %}" class="btn btn-outline-warning" aria-label="Edit">
|
<i class="fas fa-pencil-alt"></i>
|
||||||
<i class="fas fa-pencil-alt"></i>
|
</a>
|
||||||
</a>
|
{# delete #}
|
||||||
{# delete #}
|
<a href="{% url "profile:testscores_delete" score.id %}" class="btn btn-outline-danger" aria-label="Delete">
|
||||||
<a href="{% url "profile:testscores_delete" score.id %}" class="btn btn-outline-danger" aria-label="Delete">
|
<i class="far fa-trash-alt"></i>
|
||||||
<i class="far fa-trash-alt"></i>
|
</a>
|
||||||
</a>
|
</td>
|
||||||
</td>
|
</tr>
|
||||||
</tr>
|
{% empty %}
|
||||||
{% empty %}
|
<tr>
|
||||||
<tr>
|
<td>There is no data to display.</td>
|
||||||
<td>There is no data to display.</td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
</tr>
|
||||||
</tr>
|
{% endfor %}
|
||||||
{% endfor %}
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user