mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
Merge pull request #155 from orbitroom/master
Added TCU Structure to Timer Board
This commit is contained in:
commit
96aa5ede71
@ -94,6 +94,11 @@
|
|||||||
Station
|
Station
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
{% ifequal closest_timer.structure "TCU" %}
|
||||||
|
<div class="label label-danger">
|
||||||
|
TCU
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal closest_timer.structure "Other" %}
|
{% ifequal closest_timer.structure "Other" %}
|
||||||
<div class="label label-default">
|
<div class="label label-default">
|
||||||
Other
|
Other
|
||||||
@ -188,7 +193,12 @@
|
|||||||
<div class="label label-danger">
|
<div class="label label-danger">
|
||||||
Station
|
Station
|
||||||
</div>
|
</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
{% ifequal timer.structure "TCU" %}
|
||||||
|
<div class="label label-danger">
|
||||||
|
TCU
|
||||||
|
</div>
|
||||||
|
{% endifequal %}
|
||||||
{% ifequal timer.structure "Other" %}
|
{% ifequal timer.structure "Other" %}
|
||||||
<div class="label label-default">
|
<div class="label label-default">
|
||||||
Other
|
Other
|
||||||
|
@ -5,7 +5,7 @@ from django.core.validators import MaxValueValidator, MinValueValidator
|
|||||||
|
|
||||||
class TimerForm(forms.Form):
|
class TimerForm(forms.Form):
|
||||||
structure_choices = [('POCO', 'POCO'), ('I-HUB', 'I-HUB'), ('POS[S]', 'POS[S]'),
|
structure_choices = [('POCO', 'POCO'), ('I-HUB', 'I-HUB'), ('POS[S]', 'POS[S]'),
|
||||||
('POS[M]', 'POS[M]'), ('POS[L]', 'POS[L]'), ('Station', 'Station'), ('Other', 'Other')]
|
('POS[M]', 'POS[M]'), ('POS[L]', 'POS[L]'), ('Station', 'Station'), ('TCU', 'TCU'), ('Other', 'Other')]
|
||||||
objective_choices = [('Friendly', 'Friendly'), ('Hostile', 'Hostile'), ('Neutral', 'Neutral')]
|
objective_choices = [('Friendly', 'Friendly'), ('Hostile', 'Hostile'), ('Neutral', 'Neutral')]
|
||||||
|
|
||||||
details = forms.CharField(max_length=254, required=True, label='Details')
|
details = forms.CharField(max_length=254, required=True, label='Details')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user