fix authorizations page css to use media box

This commit is contained in:
Maxwell Salzberg 2012-02-13 17:06:18 -08:00
parent fd90ab1cec
commit 1f8c087f68

View file

@ -9,19 +9,20 @@
.span-19.prepend-5.last
#applications_stream.stream
- if @applications.count > 0
- for app in @applications
-if @applications.any?
- @applications.each do |app|
.stream_element{:id => app.id}
.right
.float-right
= link_to t('.revoke_access'), authorization_path(:id => app.id), :method => :delete, :confirm => 'are you sure?', :class => "button"
.media
- if app.icon_url
.img
= image_tag(app.application_base_url + app.icon_url, :class => "avatar")
.bd
- if app.icon_url
= image_tag(app.application_base_url + app.icon_url, :class => "avatar")
.content
%div.from
= link_to app.name, app.application_base_url
= app.description
- else
= t('.no_applications')