Fixing more remarks
This commit is contained in:
parent
c1e1f9bf69
commit
10314ffc8c
3 changed files with 6 additions and 6 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
%ul
|
%ul
|
||||||
- app.scopes.each do |scope|
|
- app.scopes.each do |scope|
|
||||||
%li
|
%li
|
||||||
%b= t("api.openid_connect.scopes.#{scope}.name")
|
%strong= t("api.openid_connect.scopes.#{scope}.name")
|
||||||
%p= t("api.openid_connect.scopes.#{scope}.description")
|
%p= t("api.openid_connect.scopes.#{scope}.description")
|
||||||
- else
|
- else
|
||||||
.well
|
.well
|
||||||
|
|
@ -19,13 +19,13 @@
|
||||||
.small-horizontal-spacer
|
.small-horizontal-spacer
|
||||||
.application-tos-policy
|
.application-tos-policy
|
||||||
- if app.terms_of_services?
|
- if app.terms_of_services?
|
||||||
%b= link_to t("api.openid_connect.user_applications.tos"), app.terms_of_services
|
%strong= link_to t("api.openid_connect.user_applications.tos"), app.terms_of_services
|
||||||
|
|
||||||
- if app.policy? && app.terms_of_services?
|
- if app.policy? && app.terms_of_services?
|
||||||
|
|
|
|
||||||
|
|
||||||
- if app.policy?
|
- if app.policy?
|
||||||
%b= link_to t("api.openid_connect.user_applications.policy"), app.policy
|
%strong= link_to t("api.openid_connect.user_applications.policy"), app.policy
|
||||||
|
|
||||||
- if app.policy? || app.terms_of_services?
|
- if app.policy? || app.terms_of_services?
|
||||||
.small-horizontal-spacer
|
.small-horizontal-spacer
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,6 @@ Rails.application.config.middleware.insert 0, Rack::Cors do
|
||||||
resource "/.well-known/webfinger"
|
resource "/.well-known/webfinger"
|
||||||
resource "/.well-known/openid-configuration"
|
resource "/.well-known/openid-configuration"
|
||||||
resource "/api/openid_connect/user_info", methods: %i(get post)
|
resource "/api/openid_connect/user_info", methods: %i(get post)
|
||||||
resource "/api/v0/*", methods: %i(get post delete)
|
resource "/api/v0/*", methods: %i(delete get post)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -893,7 +893,7 @@ en:
|
||||||
bad_request: "Missing client id or redirect URI"
|
bad_request: "Missing client id or redirect URI"
|
||||||
client_id_not_found: "No client with client_id %{client_id} with redirect URI %{redirect_uri} found"
|
client_id_not_found: "No client with client_id %{client_id} with redirect URI %{redirect_uri} found"
|
||||||
destroy:
|
destroy:
|
||||||
fail: "The attempt to revoke the authorization with ID %{id} has failed"
|
fail: "The attempt to revoke the authorization with ID %{id} failed"
|
||||||
user_applications:
|
user_applications:
|
||||||
index:
|
index:
|
||||||
edit_applications: "Applications"
|
edit_applications: "Applications"
|
||||||
|
|
@ -902,7 +902,7 @@ en:
|
||||||
no_requirement: "%{name} requires no permissions"
|
no_requirement: "%{name} requires no permissions"
|
||||||
no_applications: "You have no authorized applications"
|
no_applications: "You have no authorized applications"
|
||||||
revoke_autorization: "Revoke"
|
revoke_autorization: "Revoke"
|
||||||
tos: "See the application's ToS"
|
tos: "See the application's terms of service"
|
||||||
policy: "See the application's privacy policy"
|
policy: "See the application's privacy policy"
|
||||||
scopes:
|
scopes:
|
||||||
openid:
|
openid:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue