Show a delete button on the OAuth application view
This commit is contained in:
parent
53fe84fbef
commit
1e0bdda2f5
2 changed files with 8 additions and 1 deletions
|
@ -24,4 +24,9 @@
|
|||
|
||||
<p><%= t'oauth_clients.show.support_notice' %></p>
|
||||
|
||||
<p><%= link_to t('oauth_clients.show.edit'), edit_oauth_client_url(@client_application.user.display_name, @client_application) %></p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><%= button_to t('oauth_clients.show.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get %></td>
|
||||
<td><%= button_to t('oauth_clients.show.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :confirm => t('oauth_clients.show.confirm') %></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1556,6 +1556,8 @@ en:
|
|||
authorize_url: "Authorise URL:"
|
||||
support_notice: "We support HMAC-SHA1 (recommended) as well as plain text in SSL mode."
|
||||
edit: "Edit Details"
|
||||
delete: "Delete Client"
|
||||
confirm: "Are you sure?"
|
||||
requests: "Requesting the following permissions from the user:"
|
||||
allow_read_prefs: "read their user preferences."
|
||||
allow_write_prefs: "modify their user preferences."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue