1 <div class="flash"><%%= flash[:notice] %></div>
2 <h1>OAuth Client Applications</h1>
3 <%% unless @tokens.empty? %>
4 <p>The following tokens have been issued to applications in your name</p>
6 <tr><th>Application</th><th>Issued</th><th> </th></tr>
7 <%% @tokens.each do |token|%>
8 <%% content_tag_for :tr, token do %>
9 <td><%%= link_to token.client_application.name, token.client_application.url %></td>
10 <td><%%= token.authorized_at %></td>
12 <%% form_tag :controller => 'oauth', :action => 'revoke' do %>
13 <%%= hidden_field_tag 'token', token.token %>
14 <%%= submit_tag "Revoke!" %>
22 <h3>Application Developers</h3>
23 <%% if @client_applications.empty? %>
25 Do you have an application you would like to register for use with us using the <a href="http://oauth.net">OAuth</a> standard?
28 You must register your web application before it can make OAuth requests to this service
32 You have the following client applications registered:
34 <%% @client_applications.each do |client|%>
35 <%% div_for client do %>
36 <%%= link_to client.name, :action => :show, :id => client.id %>
40 <h3><%%= link_to "Register your application", :action => :new %></h3>