trying something different on app show page. worth a shot.
This commit is contained in:
parent
d7efee55a1
commit
b8a6bf9f51
3 changed files with 43 additions and 14 deletions
|
|
@ -11,17 +11,21 @@
|
|||
- content_for :body_class do
|
||||
= "apps_show"
|
||||
|
||||
.span-24.last
|
||||
%h1.tag
|
||||
= "everything happening from #{@app}"
|
||||
- content_for :break_the_mold do
|
||||
= "width:100%;"
|
||||
|
||||
.span-13
|
||||
#main_stream.stream
|
||||
%h1
|
||||
= "#{@app}"
|
||||
|
||||
#main_stream.stream
|
||||
- if @posts.length > 0
|
||||
= render 'shared/stream', :posts => @posts
|
||||
.canvas.stream
|
||||
- for post in @posts
|
||||
.image-element
|
||||
.hold-me
|
||||
= link_to(image_tag(post.image_url), object_path(post))
|
||||
.via
|
||||
= post.author.name
|
||||
#pagination
|
||||
=link_to(t('more'), next_page_path, :class => 'paginate')
|
||||
- else
|
||||
= t('tags.show.nobody_talking', :tag => "##{params[:name]}")
|
||||
|
||||
.prepend-2.span-9.last
|
||||
|
|
|
|||
|
|
@ -90,8 +90,8 @@
|
|||
%header{:class=>('landing' unless current_user)}
|
||||
= render 'layouts/header'
|
||||
|
||||
.container
|
||||
.span-24.last
|
||||
.container{:style=> "#{yield(:break_the_mold)}"}
|
||||
.span-24.last{:style=> "#{yield(:break_the_mold)}"}
|
||||
= yield
|
||||
|
||||
.clearfix
|
||||
|
|
|
|||
|
|
@ -2926,3 +2926,28 @@ h1.tag
|
|||
#facebox
|
||||
input[type='text'], input.text
|
||||
:width 98%
|
||||
|
||||
.canvas
|
||||
.image-element
|
||||
:padding 20px
|
||||
:height 170px
|
||||
:width 170px
|
||||
|
||||
:min-height 170px
|
||||
:min-width 170px
|
||||
|
||||
:display inline-block
|
||||
:vertical-align middle
|
||||
:text-align center
|
||||
|
||||
img
|
||||
:position relative
|
||||
:max-width 100%
|
||||
:max-height 100%
|
||||
|
||||
.via
|
||||
:text-align left
|
||||
:font-size 11px
|
||||
|
||||
.hold-me
|
||||
:display inline-block
|
||||
|
|
|
|||
Loading…
Reference in a new issue