fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic login.
[wolnelektury.git]
/
src
/
api
/
templates
/
oauth
/
authorize_token.html
diff --git
a/src/api/templates/oauth/authorize_token.html
b/src/api/templates/oauth/authorize_token.html
old mode 100755
(executable)
new mode 100644
(file)
index
e54f701
..
4881839
--- a/
src/api/templates/oauth/authorize_token.html
+++ b/
src/api/templates/oauth/authorize_token.html
@@
-1,20
+1,26
@@
-{% extends "base
/bas
e.html" %}
+{% extends "base
_simpl
e.html" %}
{% load i18n %}
{% load i18n %}
-{% block titleextra %}{% trans "Authorize access to Wolne Lektury" %}{% endblock %}
+{% block settings %}
+ {% load title %}
+ {% trans "Zezwól na dostęp do Wolnych Lektur" as title %}
+ {% title title %}
+{% endblock %}
+
+{% block titleextra %}{% trans "Zezwól na dostęp do Wolnych Lektur" %}{% endblock %}
{% block body %}
{% block body %}
- <h1>{% trans "
Authorize access to Wolne Lektury
" %}</h1>
+ <h1>{% trans "
Zezwól na dostęp do Wolnych Lektur
" %}</h1>
<div class="normal-text">
<p>
<div class="normal-text">
<p>
- {% blocktrans %}
Confirm to authorize access to Wolne Lektury as user <strong>{{ user
}}</strong>.{% endblocktrans %}
+ {% blocktrans %}
Potwierdź dostęp do Wolnych Lektur jako użytkownik <strong>{{ user
}}</strong>.{% endblocktrans %}
</p>
<form action="{% url 'oauth_user_auth' %}" method="POST">
{% csrf_token %}
{{ form.as_p }}
</p>
<form action="{% url 'oauth_user_auth' %}" method="POST">
{% csrf_token %}
{{ form.as_p }}
- <button type="submit">{% trans "
Confirm
" %}</button>
+ <button type="submit">{% trans "
Potwierdź
" %}</button>
</form>
</div>
{% endblock %}
</form>
</div>
{% endblock %}