2025-06-18 05:38:23 -05:00
|
|
|
<div class="border-bottom mb-4">
|
2025-06-20 17:10:36 -04:00
|
|
|
<h1><%= t(".title") %></h1>
|
2025-06-18 05:38:23 -05:00
|
|
|
</div>
|
|
|
|
|
2025-06-20 17:10:36 -04:00
|
|
|
<p><%= link_to t(".new"), new_oauth_application_path, class: "btn btn-success" %></p>
|
2025-06-18 05:38:23 -05:00
|
|
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2025-06-20 17:10:36 -04:00
|
|
|
<th><%= t(".name") %></th>
|
|
|
|
<th><%= t(".callback_url") %></th>
|
|
|
|
<th><%= t(".confidential") %></th>
|
|
|
|
<th><%= t(".actions") %></th>
|
2025-06-18 05:38:23 -05:00
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% @applications.each do |application| %>
|
|
|
|
<tr id="application_<%= application.id %>">
|
|
|
|
<td class="align-middle">
|
|
|
|
<%= link_to application.name, oauth_application_path(application) %>
|
|
|
|
</td>
|
|
|
|
<td class="align-middle">
|
|
|
|
<%= simple_format(application.redirect_uri) %>
|
|
|
|
</td>
|
|
|
|
<td class="align-middle">
|
2025-06-20 17:10:36 -04:00
|
|
|
<%= application.confidential? ? t("doorkeeper.applications.index.confidentiality.yes") : t("doorkeeper.applications.index.confidentiality.no") %>
|
2025-06-18 05:38:23 -05:00
|
|
|
</td>
|
|
|
|
<td class="align-middle">
|
2025-06-20 17:10:36 -04:00
|
|
|
<%= link_to t("doorkeeper.applications.buttons.edit"), edit_oauth_application_path(application), class: "btn btn-link" %>
|
2025-06-18 05:38:23 -05:00
|
|
|
</td>
|
|
|
|
<td class="align-middle">
|
2025-06-20 17:10:36 -04:00
|
|
|
<%= render "delete_form", application: application %>
|
2025-06-18 05:38:23 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|