mirror of
https://github.com/bszczuka/steel-training.git
synced 2025-12-21 13:23:02 +01:00
Distance from previous marker on shootoff and ipsc
This commit is contained in:
@@ -103,7 +103,11 @@
|
|||||||
{% if i==0 %}
|
{% if i==0 %}
|
||||||
<div class="mounting-info">{%trans%}ZERO point{%endtrans%} (El Presidente)</div>
|
<div class="mounting-info">{%trans%}ZERO point{%endtrans%} (El Presidente)</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="mounting-info">{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} (El Presidente)</div>
|
<div class="mounting-info">{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%}
|
||||||
|
{% if i > 1%}
|
||||||
|
{%trans%}or{%endtrans%} {{gap|round(1,'ceil')}}cm {%trans%}from previous marker{%endtrans%}
|
||||||
|
{% endif %}
|
||||||
|
(El Presidente)</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="mounting-point"></div>
|
<div class="mounting-point"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -123,7 +123,11 @@
|
|||||||
{% if i==0 %}
|
{% if i==0 %}
|
||||||
<div class="mounting-info">{%trans%}ZERO point{%endtrans%} (Shootoff)</div>
|
<div class="mounting-info">{%trans%}ZERO point{%endtrans%} (Shootoff)</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="mounting-info">{{ i * gap|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%} (Shootoff)</div>
|
<div class="mounting-info">{{ (i * gap)|round(1,'ceil') }}cm {%trans%}from ZERO point{%endtrans%}
|
||||||
|
{% if i > 1%}
|
||||||
|
{%trans%}or{%endtrans%} {{gap|round(1,'ceil')}}cm {%trans%}from previous marker{%endtrans%}
|
||||||
|
{% endif %}
|
||||||
|
(Shootoff)</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="mounting-point"></div>
|
<div class="mounting-point"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user