fix authorizations page css to use media box
This commit is contained in:
parent
fd90ab1cec
commit
1f8c087f68
1 changed files with 9 additions and 8 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue