web: add link to open API Browser for API Drawer
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
5bf3d7fe02
commit
05db352a0f
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ UID = $(shell id -u)
|
||||||
GID = $(shell id -g)
|
GID = $(shell id -g)
|
||||||
NPM_VERSION = $(shell python -m scripts.npm_version)
|
NPM_VERSION = $(shell python -m scripts.npm_version)
|
||||||
|
|
||||||
all: lint-fix lint test gen
|
all: lint-fix lint test gen web
|
||||||
|
|
||||||
test-integration:
|
test-integration:
|
||||||
coverage run manage.py test tests/integration
|
coverage run manage.py test tests/integration
|
||||||
|
|
|
@ -102,6 +102,7 @@ export class APIDrawer extends LitElement {
|
||||||
<div class="pf-c-notification-drawer__header">
|
<div class="pf-c-notification-drawer__header">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<h1 class="pf-c-notification-drawer__header-title">${t`API Requests`}</h1>
|
<h1 class="pf-c-notification-drawer__header-title">${t`API Requests`}</h1>
|
||||||
|
<a href="/api/v3/" target="_blank">${t`Open API Browser`}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="pf-c-notification-drawer__header-action">
|
<div class="pf-c-notification-drawer__header-action">
|
||||||
<div class="pf-c-notification-drawer__header-action-close">
|
<div class="pf-c-notification-drawer__header-action-close">
|
||||||
|
|
|
@ -3211,6 +3211,10 @@ msgstr "Only fail the policy, don't invalidate user's password."
|
||||||
msgid "Only send notification once, for example when sending a webhook into a chat channel."
|
msgid "Only send notification once, for example when sending a webhook into a chat channel."
|
||||||
msgstr "Only send notification once, for example when sending a webhook into a chat channel."
|
msgstr "Only send notification once, for example when sending a webhook into a chat channel."
|
||||||
|
|
||||||
|
#: src/elements/notifications/APIDrawer.ts
|
||||||
|
msgid "Open API Browser"
|
||||||
|
msgstr "Open API Browser"
|
||||||
|
|
||||||
#:
|
#:
|
||||||
#~ msgid "Open application"
|
#~ msgid "Open application"
|
||||||
#~ msgstr "Open application"
|
#~ msgstr "Open application"
|
||||||
|
@ -4766,6 +4770,7 @@ msgid "Superuser-groups"
|
||||||
msgstr "Superuser-groups"
|
msgstr "Superuser-groups"
|
||||||
|
|
||||||
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
||||||
|
#: src/pages/admin-overview/charts/UserOverTimeStatusChart.ts
|
||||||
msgid "Superusers"
|
msgid "Superusers"
|
||||||
msgstr "Superusers"
|
msgstr "Superusers"
|
||||||
|
|
||||||
|
@ -5129,6 +5134,7 @@ msgid "Total policies"
|
||||||
msgstr "Total policies"
|
msgstr "Total policies"
|
||||||
|
|
||||||
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
||||||
|
#: src/pages/admin-overview/charts/UserOverTimeStatusChart.ts
|
||||||
msgid "Total users"
|
msgid "Total users"
|
||||||
msgstr "Total users"
|
msgstr "Total users"
|
||||||
|
|
||||||
|
@ -5538,6 +5544,10 @@ msgstr "User interface"
|
||||||
msgid "User matching mode"
|
msgid "User matching mode"
|
||||||
msgstr "User matching mode"
|
msgstr "User matching mode"
|
||||||
|
|
||||||
|
#: src/pages/admin-overview/UserDashboardPage.ts
|
||||||
|
msgid "User metrics"
|
||||||
|
msgstr "User metrics"
|
||||||
|
|
||||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||||
msgid "User object filter"
|
msgid "User object filter"
|
||||||
msgstr "User object filter"
|
msgstr "User object filter"
|
||||||
|
@ -5768,7 +5778,6 @@ msgid "Webhook URL"
|
||||||
msgstr "Webhook URL"
|
msgstr "Webhook URL"
|
||||||
|
|
||||||
#: src/pages/admin-overview/AdminOverviewPage.ts
|
#: src/pages/admin-overview/AdminOverviewPage.ts
|
||||||
#: src/pages/admin-overview/UserDashboardPage.ts
|
|
||||||
msgid "Welcome, {name}."
|
msgid "Welcome, {name}."
|
||||||
msgstr "Welcome, {name}."
|
msgstr "Welcome, {name}."
|
||||||
|
|
||||||
|
|
|
@ -3187,6 +3187,10 @@ msgstr "Faire simplement échouer la politique sans invalider le mot de passe ut
|
||||||
msgid "Only send notification once, for example when sending a webhook into a chat channel."
|
msgid "Only send notification once, for example when sending a webhook into a chat channel."
|
||||||
msgstr "Envoyer une seule fois la notification, par exemple lors de l'envoi d'un webhook dans un canal de discussion."
|
msgstr "Envoyer une seule fois la notification, par exemple lors de l'envoi d'un webhook dans un canal de discussion."
|
||||||
|
|
||||||
|
#: src/elements/notifications/APIDrawer.ts
|
||||||
|
msgid "Open API Browser"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#~ msgid "Open application"
|
#~ msgid "Open application"
|
||||||
#~ msgstr "Ouvrir l'appication"
|
#~ msgstr "Ouvrir l'appication"
|
||||||
|
|
||||||
|
@ -4722,6 +4726,7 @@ msgid "Superuser-groups"
|
||||||
msgstr "Groupes de super-utilisateur"
|
msgstr "Groupes de super-utilisateur"
|
||||||
|
|
||||||
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
||||||
|
#: src/pages/admin-overview/charts/UserOverTimeStatusChart.ts
|
||||||
msgid "Superusers"
|
msgid "Superusers"
|
||||||
msgstr "Super-utilisateurs"
|
msgstr "Super-utilisateurs"
|
||||||
|
|
||||||
|
@ -5070,6 +5075,7 @@ msgid "Total policies"
|
||||||
msgstr "Politiques totales"
|
msgstr "Politiques totales"
|
||||||
|
|
||||||
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
||||||
|
#: src/pages/admin-overview/charts/UserOverTimeStatusChart.ts
|
||||||
msgid "Total users"
|
msgid "Total users"
|
||||||
msgstr "Utilisateurs totaux"
|
msgstr "Utilisateurs totaux"
|
||||||
|
|
||||||
|
@ -5476,6 +5482,10 @@ msgstr "Interface utilisateur"
|
||||||
msgid "User matching mode"
|
msgid "User matching mode"
|
||||||
msgstr "Mode de correspondance utilisateur"
|
msgstr "Mode de correspondance utilisateur"
|
||||||
|
|
||||||
|
#: src/pages/admin-overview/UserDashboardPage.ts
|
||||||
|
msgid "User metrics"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||||
msgid "User object filter"
|
msgid "User object filter"
|
||||||
msgstr "Filtre des objets utilisateur"
|
msgstr "Filtre des objets utilisateur"
|
||||||
|
@ -5706,7 +5716,6 @@ msgid "Webhook URL"
|
||||||
msgstr "URL Webhoo"
|
msgstr "URL Webhoo"
|
||||||
|
|
||||||
#: src/pages/admin-overview/AdminOverviewPage.ts
|
#: src/pages/admin-overview/AdminOverviewPage.ts
|
||||||
#: src/pages/admin-overview/UserDashboardPage.ts
|
|
||||||
msgid "Welcome, {name}."
|
msgid "Welcome, {name}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -3201,6 +3201,10 @@ msgstr ""
|
||||||
msgid "Only send notification once, for example when sending a webhook into a chat channel."
|
msgid "Only send notification once, for example when sending a webhook into a chat channel."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/elements/notifications/APIDrawer.ts
|
||||||
|
msgid "Open API Browser"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#:
|
#:
|
||||||
#~ msgid "Open application"
|
#~ msgid "Open application"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
@ -4756,6 +4760,7 @@ msgid "Superuser-groups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
||||||
|
#: src/pages/admin-overview/charts/UserOverTimeStatusChart.ts
|
||||||
msgid "Superusers"
|
msgid "Superusers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -5109,6 +5114,7 @@ msgid "Total policies"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
#: src/pages/admin-overview/charts/UserCountStatusChart.ts
|
||||||
|
#: src/pages/admin-overview/charts/UserOverTimeStatusChart.ts
|
||||||
msgid "Total users"
|
msgid "Total users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -5518,6 +5524,10 @@ msgstr ""
|
||||||
msgid "User matching mode"
|
msgid "User matching mode"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/pages/admin-overview/UserDashboardPage.ts
|
||||||
|
msgid "User metrics"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||||
msgid "User object filter"
|
msgid "User object filter"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -5748,7 +5758,6 @@ msgid "Webhook URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/admin-overview/AdminOverviewPage.ts
|
#: src/pages/admin-overview/AdminOverviewPage.ts
|
||||||
#: src/pages/admin-overview/UserDashboardPage.ts
|
|
||||||
msgid "Welcome, {name}."
|
msgid "Welcome, {name}."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Reference in New Issue