comparison default/login/logged.html @ 144:460fc71bdc45

login/logged.html: changed phrasing for logging time
author Goffi <goffi@goffi.org>
date Fri, 01 Jun 2018 19:10:42 +0200
parents a37d535b7ddd
children
comparison
equal deleted inserted replaced
143:a37d535b7ddd 144:460fc71bdc45
15 {% if guest_session %} 15 {% if guest_session %}
16 <p>{% trans %}You are logged as a guest{% endtrans %}</p> 16 <p>{% trans %}You are logged as a guest{% endtrans %}</p>
17 {% else %} 17 {% else %}
18 <p>{% trans name='<span class="logged_profile">'|safe + profile + '</span>'|safe %}You are logged under the account {{name}} {% endtrans %}</p> 18 <p>{% trans name='<span class="logged_profile">'|safe + profile + '</span>'|safe %}You are logged under the account {{name}} {% endtrans %}</p>
19 {% endif %} 19 {% endif %}
20 <p>{% trans session_started='<span class="logged_time">'|safe + session_started|date_fmt('relative') + '</span>'|safe %}You are logged since {{session_started}}{% endtrans %}</p> 20 <p>{% trans session_started='<span class="logged_time">'|safe + session_started|date_fmt('relative') + '</span>'|safe %}You logged {{session_started}}{% endtrans %}</p>
21 </div> 21 </div>
22 {% call form.form() %} 22 {% call form.form() %}
23 {{ field.meta('type', 'disconnect') }} 23 {{ field.meta('type', 'disconnect') }}
24 {{ field.submit(_("Disconnect")) }} 24 {{ field.submit(_("Disconnect")) }}
25 {% endcall %} 25 {% endcall %}