fixed templates

main
Andrey Zhavoronkov 5 years ago
parent a916e65553
commit e309f2f8bf

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

@ -1,5 +1,6 @@
{% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %}{% blocktrans with
site_name=current_site.name site_domain=current_site.domain %}Hello from {{ site_name }}!
{% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}
Hello from {{ site_name }}!
<p>
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>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>
{% endblocktrans %} {% endautoescape %}

@ -1,5 +1,16 @@
{% load i18n %}{% autoescape off %} {% blocktrans %}You're receiving this email because you requested a password reset
for your user account at {{ site_name }}.{% endblocktrans %} {% 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 %}
{% load i18n %}{% autoescape off %}
{% blocktrans %}
You're receiving this email because you requested a password reset for your user account at {{ site_name }}.
{% endblocktrans %}
{% 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>
<body>
<xmp id="content" style="display: none"
>
<xmp id="content" style="display: none">
{% autoescape off %}
{% block content %}
{% endblock %}

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

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

Loading…
Cancel
Save