Skip to content
Snippets Groups Projects
Verified Commit 0c598b49 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Use term "application" for all authorized OAuth2 applications/tokens

parent e3785ccd
No related branches found
No related tags found
1 merge request!646Use term "application" for all authorized OAuth2 applications/tokens
Pipeline #14960 passed
...@@ -13,6 +13,7 @@ Changed ...@@ -13,6 +13,7 @@ Changed
~~~~~~~ ~~~~~~~
* Use own templates and views for PWA meta and manifest. * Use own templates and views for PWA meta and manifest.
* Use term "application" for all authorized OAuth2 applications/tokens.
Removed Removed
~~~~~~~ ~~~~~~~
......
...@@ -103,7 +103,7 @@ MENUS = { ...@@ -103,7 +103,7 @@ MENUS = {
], ],
}, },
{ {
"name": _("Authorized tokens"), "name": _("Authorized applications"),
"url": "oauth2_provider:authorized-token-list", "url": "oauth2_provider:authorized-token-list",
"icon": "touch_app", "icon": "touch_app",
"validators": [ "validators": [
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
{% load i18n %} {% load i18n %}
{% block browser_title %}{% trans "Revoke token" %}{% endblock %} {% block browser_title %}{% trans "Revoke access" %}{% endblock %}
{% block page_title %}{% trans "Revoke token" %}{% endblock %} {% block page_title %}{% trans "Revoke access" %}{% endblock %}
{% block content %} {% block content %}
<div class="alert info"> <div class="alert info">
<p> <p>
<i class="material-icons left">warning</i> <i class="material-icons left">warning</i>
{% trans "Are you sure to revoke this token?" %} {% trans "Are you sure to revoke the access for this application?" %}
</p> </p>
</div> </div>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{% endfor %} {% endfor %}
</div> </div>
<div class="card-action"> <div class="card-action">
<a href="{% url 'oauth2_provider:authorized-token-delete' authorized_token.pk %}">{% trans "Revoke" %}</a> <a href="{% url 'oauth2_provider:authorized-token-delete' authorized_token.pk %}">{% trans "Revoke access" %}</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<div class="alert info"> <div class="alert info">
<p> <p>
<i class="material-icons left">info</i> <i class="material-icons left">info</i>
{% trans "No authorized tokens defined." %} {% trans "No authorized applications." %}
</p> </p>
</div> </div>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment