translate time-tracking in login screen and browser title (#738)
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
{{ 'browser.title'|trans }}
|
||||
{{- get_title() -}}
|
||||
{% endblock %}
|
||||
|
||||
{% block page_subtitle %}{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends '@AdminLTE/FOSUserBundle/Registration/confirmed.html.twig' %}
|
||||
|
||||
{% block logo_login %}{% include 'partials/logo_login.html.twig' %}{% endblock %}
|
||||
{% block title %}{{ 'browser.title'|trans }}{% endblock %}
|
||||
{% block title %}{{- get_title() -}}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends '@AdminLTE/FOSUserBundle/Registration/register.html.twig' %}
|
||||
|
||||
{% block logo_login %}{% include 'partials/logo_login.html.twig' %}{% endblock %}
|
||||
{% block title %}{{ 'browser.title'|trans }}{% endblock %}
|
||||
{% block title %}{{- get_title() -}}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends '@AdminLTE/FOSUserBundle/Resetting/request.html.twig' %}
|
||||
|
||||
{% block logo_login %}{% include 'partials/logo_login.html.twig' %}{% endblock %}
|
||||
{% block title %}{{ 'browser.title'|trans }}{% endblock %}
|
||||
{% block title %}{{- get_title() -}}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends '@AdminLTE/FOSUserBundle/Security/login.html.twig' %}
|
||||
|
||||
{% block logo_login %}{% include 'partials/logo_login.html.twig' %}{% endblock %}
|
||||
{% block title %}{{ 'browser.title'|trans }}{% endblock %}
|
||||
{% block title %}{{- get_title() -}}{% endblock %}
|
||||
|
||||
{% block login_box_icon %}
|
||||
<span class="glyphicon glyphicon-user"></span>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends '@AdminLTE/FOSUserBundle/layout.html.twig' %}
|
||||
|
||||
{% block logo_login %}{% include 'partials/logo_login.html.twig' %}{% endblock %}
|
||||
{% block title %}{{ 'browser.title'|trans }}{% endblock %}
|
||||
{% block title %}{{- get_title() -}}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{% for title, class in entries %}
|
||||
{% if 'alwaysVisible' not in class %}
|
||||
<div class="form-group">
|
||||
<input type="checkbox" id="column_{{ title }}" name="{{ title }}"{% if is_visible_column(name, title, '') %} checked="checked"{% endif %}>
|
||||
<input type="checkbox" id="column_{{ title }}" name="{{ title }}"{% if is_visible_column(name, title) %} checked="checked"{% endif %}>
|
||||
<label class="control-label required" for="column_{{ title }}">{{ ('label.' ~ title)|trans }}</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -45,9 +45,9 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{% if not is_visible_column(name, column, '') %}
|
||||
{% if not is_visible_column(name, column) %}
|
||||
{% set classes = classes ~ ' hidden' %}
|
||||
{% elseif not is_datatable_configured(name, '') %}
|
||||
{% elseif not is_datatable_configured(name) %}
|
||||
{% for tmp in classes|split(' ') %}
|
||||
{% if 'hidden' == tmp %}
|
||||
{% set classes = classes|replace({(tmp): ''}) %}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<b>Kimai</b><br>TimeTracking
|
||||
{{- get_title('<b>', '</b><br>')|raw -}}
|
||||
|
||||
Reference in New Issue
Block a user