diff options
Diffstat (limited to 'web/kbn_templates/pump.j2')
-rw-r--r-- | web/kbn_templates/pump.j2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web/kbn_templates/pump.j2 b/web/kbn_templates/pump.j2 index 28d5c9d..40836ca 100644 --- a/web/kbn_templates/pump.j2 +++ b/web/kbn_templates/pump.j2 @@ -1,17 +1,17 @@ {% extends "base.j2" %} {% block content %} -{{ breadcrumbs([{'text': 'Насос'}]) }} +{{ breadcrumbs([{'text': 'pump'|lang}]) }} <form action="/pump.cgi" method="get"> <input type="hidden" name="set" value="{{ 'off' if status == 'on' else 'on' }}" /> - Сейчас насос + {{ "pump_now_is"|lang }} {% if status == 'on' %} - <span class="text-success"><b>включен</b></span>.<br><br> - <button type="submit" class="btn btn-primary">Выключить</button> + <span class="text-success"><b>{{ "pump_now_on"|lang }}</b></span>.<br><br> + <button type="submit" class="btn btn-primary">{{ "pump_turn_off"|lang }}</button> {% else %} - <span class="text-danger"><b>выключен</b></span>.<br><br> - <button type="submit" class="btn btn-primary">Включить</button> + <span class="text-danger"><b>{{ "pump_now_off"|lang }}</b></span>.<br><br> + <button type="submit" class="btn btn-primary">{{ "pump_turn_on"|lang }}</button> {% endif %} </form> {% endblock %} |