Sha256: c5c79afc8929dc74fe5b6c46f3fcfc96223d608ba2fa24097e1429781dc630d7
Contents?: true
Size: 1.69 KB
Versions: 14
Compression:
Stored size: 1.69 KB
Contents
<div class="flash"><%= flash[:notice] %></div> <h1><%=translate('muck.oauth.oauth_client_applications') %></h1> <% unless @tokens.empty? %> <p><%=translate('muck.oauth.tokens_issued') %></p> <table> <tr><th><%=translate('muck.oauth.application') %></th><th><%=translate('muck.oauth.issued') %></th><th> </th></tr> <% @tokens.each do |token|%> <% content_tag_for :tr, token do %> <td><%= link_to token.client_application.name, token.client_application.url %></td> <td><%= token.authorized_at %></td> <td> <% form_tag :controller => 'oauth', :action => 'revoke' do %> <%= hidden_field_tag 'token', token.token %> <%= submit_tag translate('muck.oauth.revoke') %> <% end %> </td> <% end %> <% end %> </table> <% end %> <h3><%=translate('muck.oauth.application_developers') %></h3> <% if @client_applications.empty? %> <p> <%=translate('muck.oauth.do_you_have_an_application_to_register', :link => '<a href="http://oauth.net">OAuth</a>') %> </p> <p> <%=translate('muck.oauth.you_must_register_your_web_application') %> </p> <% else %> <p> <%=translate('muck.oauth.you_have_the_following_client_applications_registered') %> </p> <% @client_applications.each do |client|%> <% div_for client do %> <%= link_to client.name, oauth_client_path(client) %>- <%= link_to translate('muck.oauth.edit'), edit_oauth_client_path(client) %> <%= link_to translate('muck.oauth.delete'), oauth_client_path(client), :confirm => translate('muck.oauth.are_you_sure'), :method => :delete %> <% end %> <% end %> <% end %> <br /> <h3><%= link_to translate('muck.oauth.register_your_application'), :action => :new %></h3>
Version data entries
14 entries across 14 versions & 1 rubygems