lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_applications.html.erb in rodauth-oauth-0.10.4 vs lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_applications.html.erb in rodauth-oauth-1.0.0.pre.beta1
- old
+ new
@@ -2,11 +2,11 @@
<% apps_count = oauth_applications_ds.count %>
<div class="btn-group" role="group" aria-label="Buttons">
<%= link_to rodauth.new_oauth_application_page_title, "#{rodauth.oauth_applications_path}/new", class: "btn btn-secondary" %>
</div>
<% if apps_count.zero? %>
- <p>No oauth applications yet!</p>
+ <p><%= rodauth.oauth_no_applications_text %></p>
<% else %>
<table class="table">
<thead>
<tr>
<th scope="col"><%= rodauth.oauth_applications_client_id_label %> (<%= apps_count %>)</th>
@@ -24,7 +24,7 @@
<td><%= link_to "Show", rodauth.oauth_application_path(application[rodauth.oauth_applications_id_column]) %></td>
</tr>
<% end %>
</tbody>
</table>
- <%= rodauth.oauth_management_pagination_links(oauth_applications_ds) %>
+ <%= rodauth.oauth_management_pagination_links(oauth_applications_ds).html_safe %>
<% end %>