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
|
- content_for :body_class do
|
||||||
= "apps_show"
|
= "apps_show"
|
||||||
|
|
||||||
.span-24.last
|
- content_for :break_the_mold do
|
||||||
%h1.tag
|
= "width:100%;"
|
||||||
= "everything happening from #{@app}"
|
|
||||||
|
|
||||||
.span-13
|
%h1
|
||||||
#main_stream.stream
|
= "#{@app}"
|
||||||
- if @posts.length > 0
|
|
||||||
= render 'shared/stream', :posts => @posts
|
#main_stream.stream
|
||||||
#pagination
|
- if @posts.length > 0
|
||||||
=link_to(t('more'), next_page_path, :class => 'paginate')
|
.canvas.stream
|
||||||
- else
|
- for post in @posts
|
||||||
= t('tags.show.nobody_talking', :tag => "##{params[:name]}")
|
.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')
|
||||||
|
|
||||||
.prepend-2.span-9.last
|
|
||||||
|
|
|
||||||
|
|
@ -90,8 +90,8 @@
|
||||||
%header{:class=>('landing' unless current_user)}
|
%header{:class=>('landing' unless current_user)}
|
||||||
= render 'layouts/header'
|
= render 'layouts/header'
|
||||||
|
|
||||||
.container
|
.container{:style=> "#{yield(:break_the_mold)}"}
|
||||||
.span-24.last
|
.span-24.last{:style=> "#{yield(:break_the_mold)}"}
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
|
|
|
||||||
|
|
@ -2926,3 +2926,28 @@ h1.tag
|
||||||
#facebox
|
#facebox
|
||||||
input[type='text'], input.text
|
input[type='text'], input.text
|
||||||
:width 98%
|
: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