templates/oauth_applications.str in rodauth-oauth-0.10.4 vs templates/oauth_applications.str in rodauth-oauth-1.0.0.pre.beta1
- old
+ new
@@ -1,13 +1,13 @@
<div id="oauth-applications">
<a class="btn btn-outline-primary" href="/oauth-applications/new">#{rodauth.new_oauth_application_page_title}</a>
#{
if @oauth_applications.count.zero?
- "<p>No oauth applications yet!</p>"
+ "<p>#{rodauth.oauth_no_applications_text}</p>"
else
"<ul class=\"list-group\">" +
@oauth_applications.map do |application|
- "<li class=\"list-group-item\"><a href=\"/oauth-applications/#{application[:id]}\">#{application[:name]}</a></li>"
+ "<li class=\"list-group-item\"><a href=\"#{rodauth.oauth_application_path(application[rodauth.oauth_applications_id_column])}\">#{application[:name]}</a></li>"
end.join +
"</ul>"
end
}
#{rodauth.oauth_management_pagination_links(@oauth_applications)}
\ No newline at end of file