templates/oauth_application.str in rodauth-oauth-0.10.4 vs templates/oauth_application.str in rodauth-oauth-1.0.0.pre.beta1
- old
+ new
@@ -1,15 +1,15 @@
<div id="oauth-application">
<dl>
#{
params = [*rodauth.oauth_application_required_params, "client_id", "client_secret"]
if rodauth.features.include?(:oauth_jwt)
- params += %w[jwks jwt_public_key]
+ params += %w[jwks]
end
params.map do |param|
"<dt class=\"#{param}\">#{rodauth.send(:"oauth_applications_#{param}_label")}: </dt>" +
"<dd class=\"#{param}\">#{@oauth_application[rodauth.send(:"oauth_applications_#{param}_column")]}</dd>"
end.join
}
</dl>
- <a href="#{rodauth.oauth_applications_path}/#{@oauth_application[rodauth.oauth_applications_id_column]}/#{rodauth.oauth_applications_oauth_tokens_path}" class="btn btn-outline-secondary">#{rodauth.oauth_application_oauth_tokens_page_title}</a>
+ <a href="#{rodauth.oauth_applications_path}/#{@oauth_application[rodauth.oauth_applications_id_column]}/#{rodauth.oauth_applications_oauth_grants_path}" class="btn btn-outline-secondary">#{rodauth.oauth_application_oauth_grants_page_title}</a>
</div>