mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23837 e93f8b46-1217-0410-a6f0-8f06a7374b81
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
<%= title [t(:label_my_account), my_account_path], l('label_oauth_authorized_application_plural') %>
|
|
|
|
<% if @applications.any? %>
|
|
<div class="autoscroll">
|
|
<table class="list">
|
|
<thead><tr>
|
|
<th><%= t('doorkeeper.authorized_applications.index.application') %></th>
|
|
<th><%= t('doorkeeper.authorized_applications.index.created_at') %></th>
|
|
<th></th>
|
|
</tr></thead>
|
|
<tbody>
|
|
<% @applications.each do |application| %>
|
|
<tr id="application_<%= application.id %>" class="<%= cycle("odd", "even") %>">
|
|
<td class="name"><span><%= application.name %></span></td>
|
|
<td ><%= format_date application.created_at %></td>
|
|
<td class="buttons">
|
|
<%= link_to sprite_icon('del', t('doorkeeper.authorized_applications.buttons.revoke')), oauth_authorized_application_path(application), :data => {:confirm => t('doorkeeper.authorized_applications.confirmations.revoke')}, :method => :delete, :class => 'icon icon-del' %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<% else %>
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
<% end %>
|
|
|
|
<% content_for :sidebar do %>
|
|
<% @user = User.current %>
|
|
<%= render :partial => 'my/sidebar' %>
|
|
<% end %>
|