fixed templates

main
Andrey Zhavoronkov 5 years ago
parent a916e65553
commit e309f2f8bf

@ -7,3 +7,4 @@ datumaro/
keys/ keys/
logs/ logs/
static/ static/
templates/

@ -1,5 +1,6 @@
{% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %}{% blocktrans with {% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %}
site_name=current_site.name site_domain=current_site.domain %}Hello from {{ site_name }}! {% blocktrans with site_name=current_site.name site_domain=current_site.domain %}
Hello from {{ site_name }}!
<p> <p>
You're receiving this e-mail because user <strong>{{ user_display }}</strong> has given yours as an e-mail address You're receiving this e-mail because user <strong>{{ user_display }}</strong> has given yours as an e-mail address
@ -7,6 +8,7 @@ site_name=current_site.name site_domain=current_site.domain %}Hello from {{ site
</p> </p>
<p>To confirm this is correct, go to <a href="{{ activate_url }}">{{ activate_url }}</a></p> <p>To confirm this is correct, go to <a href="{{ activate_url }}">{{ activate_url }}</a></p>
{% endblocktrans %} {% blocktrans with site_name=current_site.name site_domain=current_site.domain %} {% endblocktrans %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}
<strong>{{ site_domain }}</strong> <strong>{{ site_domain }}</strong>
{% endblocktrans %} {% endautoescape %} {% endblocktrans %} {% endautoescape %}

@ -1,5 +1,16 @@
{% load i18n %}{% autoescape off %} {% blocktrans %}You're receiving this email because you requested a password reset {% load i18n %}{% autoescape off %}
for your user account at {{ site_name }}.{% endblocktrans %} {% trans "Please go to the following page and choose a new {% blocktrans %}
password:" %} {% block reset_link %} {{ protocol }}://{{ domain }}/auth/password/reset/confirm?uid={{ uid }}&token={{ You're receiving this email because you requested a password reset for your user account at {{ site_name }}.
token }} {% endblock %} {% trans "Your username, in case you've forgotten:" %} {{ user.get_username }} {% trans "Thanks {% endblocktrans %}
for using our site!" %} {% blocktrans %}The {{ site_name }} team{% endblocktrans %} {% endautoescape %}
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
{{ protocol }}://{{ domain }}/auth/password/reset/confirm?uid={{ uid }}&token={{ token }}
{% endblock %}
{% trans "Your username, in case you've forgotten:" %} {{ user.get_username }}
{% trans "Thanks for using our site!" %}
{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
{% endautoescape %}

@ -15,8 +15,7 @@
</head> </head>
<body> <body>
<xmp id="content" style="display: none" <xmp id="content" style="display: none">
>
{% autoescape off %} {% autoescape off %}
{% block content %} {% block content %}
{% endblock %} {% endblock %}

@ -3,5 +3,12 @@
SPDX-License-Identifier: MIT SPDX-License-Identifier: MIT
--> -->
{% extends 'documentation/base_page.html' %} {% block title %} CVAT User Guide {% endblock %} {% block content %} {{ {% extends 'documentation/base_page.html' %}
user_guide }} {% endblock %}
{% block title %}
CVAT User Guide
{% endblock %}
{% block content %}
{{ user_guide }}
{% endblock %}

@ -3,5 +3,6 @@
SPDX-License-Identifier: MIT SPDX-License-Identifier: MIT
--> -->
{% extends 'documentation/base_page.html' %} {% block title %} CVAT XML format {% endblock %} {% block content %} {{ {% extends 'documentation/base_page.html' %}
xml_format }} {% endblock %} {% block title %} CVAT XML format {% endblock %}
{% block content %} {{ xml_format }} {% endblock %}

Loading…
Cancel
Save