Small representation fix.
This commit is contained in:
parent
6593d16966
commit
a33e932858
|
@ -349,3 +349,10 @@ class TeamShift(CampRelatedModel):
|
||||||
return self.team.camp
|
return self.team.camp
|
||||||
|
|
||||||
camp_filter = 'team__camp'
|
camp_filter = 'team__camp'
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return "{} team shift from {} to {}".format(
|
||||||
|
self.team.name,
|
||||||
|
self.shift_range.lower,
|
||||||
|
self.shift_range.upper
|
||||||
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% block team_content %}
|
{% block team_content %}
|
||||||
|
|
||||||
<form method="post">{% csrf_token %}
|
<form method="post">{% csrf_token %}
|
||||||
<p>Are you sure you want to delete "{{ object }}"?</p>
|
<p>Are you sure you want to delete {{ object }}?</p>
|
||||||
<input type="submit" class="btn btn-danger" value="Confirm" />
|
<input type="submit" class="btn btn-danger" value="Confirm" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue