fix authorizations page css to use media box
This commit is contained in:
parent
7a565b051d
commit
ef40350bae
1 changed files with 9 additions and 8 deletions
|
|
@ -9,19 +9,20 @@
|
||||||
|
|
||||||
.span-19.prepend-5.last
|
.span-19.prepend-5.last
|
||||||
#applications_stream.stream
|
#applications_stream.stream
|
||||||
- if @applications.count > 0
|
-if @applications.any?
|
||||||
- for app in @applications
|
- @applications.each do |app|
|
||||||
.stream_element{:id => app.id}
|
.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"
|
= link_to t('.revoke_access'), authorization_path(:id => app.id), :method => :delete, :confirm => 'are you sure?', :class => "button"
|
||||||
|
.media
|
||||||
- if app.icon_url
|
- if app.icon_url
|
||||||
|
.img
|
||||||
= image_tag(app.application_base_url + app.icon_url, :class => "avatar")
|
= image_tag(app.application_base_url + app.icon_url, :class => "avatar")
|
||||||
|
.bd
|
||||||
|
|
||||||
.content
|
|
||||||
%div.from
|
%div.from
|
||||||
= link_to app.name, app.application_base_url
|
= link_to app.name, app.application_base_url
|
||||||
= app.description
|
= app.description
|
||||||
|
|
||||||
- else
|
- else
|
||||||
= t('.no_applications')
|
= t('.no_applications')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue