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