Jarvis/jarvis/followup/templates/injuries/details.html

33 lines
1.2 KiB
HTML
Raw Normal View History

2023-04-25 17:06:14 +02:00
{% extends "base.html" %}
{% block content %}
<div class="row justify-content-center">
<div class="col-12 col-sm-8 col-md-6">
<div class="card">
<div class="card-header">
2023-07-06 23:37:07 +02:00
<h4 class="mb-0">Injury on {{ injury.date | date:"j N Y" }}</h4>
2023-04-25 17:06:14 +02:00
</div>
<div class="card-body">
2023-07-06 23:37:07 +02:00
<a href="{% url 'gymnast_details' injury.gymnast.id %}">{{ injury.gymnast }}</a>{% if injury.skill %} injuried on <i>{{ injury.skill.notation }}</i>{% endif %}<br />
{{ injury.get_mechanism_display }} on {{ injury.location}} ({{ injury.get_body_side_display }})<br />
{% if injury.nb_week_off %}
Gymnast {{ injury.nb_week_off }} week(s) off.<br />
2023-04-25 17:06:14 +02:00
{% endif %}
<br />
2023-07-06 23:37:07 +02:00
{{ injury.to_markdown | safe }}
2023-04-25 17:06:14 +02:00
<div class="card-footer pl-0 pb-0">
2023-07-06 23:37:07 +02:00
<a href="{% url 'injuries_list' %}">
2023-04-25 17:06:14 +02:00
<button type="submit" value="add" class="btn btn-icon btn-warning ">
<i class="tim-icons icon-double-left"></i>
</button>
</a>
</div>
</div>
</div>
</div>
</div>
{% endblock %}