Skip to content
Extraits de code Groupes Projets
Valider b8a6bf9f rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

trying something different on app show page. worth a shot.

parent d7efee55
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
- if @posts.length > 0
= render 'shared/stream', :posts => @posts
#pagination
=link_to(t('more'), next_page_path, :class => 'paginate')
- else
= t('tags.show.nobody_talking', :tag => "##{params[:name]}")
%h1
= "#{@app}"
#main_stream.stream
- if @posts.length > 0
.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')
.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
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter