diff --git a/app/views/comments/_comment.haml b/app/views/comments/_comment.haml index 62f05b193608c5d57ee40f282f2cc331bf87e338..b73f542db4452b7e2f7e49b6b271e70f46519a64 100644 --- a/app/views/comments/_comment.haml +++ b/app/views/comments/_comment.haml @@ -1,14 +1,14 @@ -# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. -- comment = hash[:comment] -- person = hash[:person] -%li.comment{:data=>{:guid=>comment.id}, :class => ("hidden" if(defined? hidden))} - =person_image_link(person) + +%li.comment{:data=>{:guid=>hash[:comment].id}, :class => ("hidden" if(defined? hidden))} + = person_image_link(hash[:person]) .content .from - =person_link(person) - = markdownify(comment.text, :youtube_maps => comment[:youtube_titles]) - %div.time - = comment.created_at ? t('ago', :time => time_ago_in_words(comment.created_at)) : time_ago_in_words(Time.now) + = person_link(hash[:person]) + = markdownify(hash[:comment].text, :youtube_maps => hash[:comment][:youtube_titles]) + .info + %span.time + = hash[:comment].created_at ? t('ago', :time => time_ago_in_words(hash[:comment].created_at)) : time_ago_in_words(Time.now) diff --git a/app/views/shared/_stream_element.haml b/app/views/shared/_stream_element.haml index 808099f0be4dde2202f998c5186f88adccf8f830..b288b378c3dee9960c7f721496d39f4a2a725a27 100644 --- a/app/views/shared/_stream_element.haml +++ b/app/views/shared/_stream_element.haml @@ -4,7 +4,7 @@ .stream_element{:data=>{:guid=>post.id}} - if person.owner_id == current_user.id - .right.controls + .right.hidden.controls - reshare_aspects = aspects_without_post(all_aspects, post) - unless reshare_aspects.empty? = render 'shared/reshare', :aspects => reshare_aspects, :post => post @@ -14,7 +14,7 @@ .content .from - %h4 + %h5 =person_link(person) - if post.public? diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 516e70be01457a851325d424134c42ee449e562a..06b41d7a2ec30f2acc705ea322436e8496e23d49 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -120,7 +120,7 @@ header :color #111 :color rgba(30,30,30,0.98) - :background -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.84)), to(rgba(0,0,0,0.96))) + :background -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(25,25,25,0.83)), to(rgba(0,0,0,0.98))) :-webkit-box-shadow 0 1px 3px #111 :-moz-box-shadow 0 1px 2px #111 @@ -238,7 +238,7 @@ header .stream .stream_element - :padding 0.7em 1em + :padding 0.7em 1.2em :min-height 50px :border :bottom 1px solid #eee @@ -309,7 +309,7 @@ header :color #777 .from - h4 + h5 :display inline a :color #444 @@ -318,7 +318,7 @@ header :margin :top 0 :padding - :left 60px + :left 63px :color #444 :font @@ -508,7 +508,7 @@ header ul.comments textarea - :width 284px + :width 275px .stream ul.comments .avatar @@ -536,7 +536,7 @@ ul.show_comments li :list :style none - :padding 0.7em + :padding 0.5em :border :bottom 1px solid #ddd :top 1px solid #fff @@ -558,7 +558,7 @@ ul.show_comments :top 0px :bottom -2px :padding - :left 40px + :left 38px :right 20px .from a @@ -576,7 +576,7 @@ ul.show_comments textarea :font :size 1em - :width 485px + :width 478px .submit_instructions :text-align center @@ -616,7 +616,6 @@ ul.show_comments .stream_element .right - :display none :position absolute :right 12px