Merge branch 'master' of git://github.com/diaspora/diaspora

This commit is contained in:
OhaiBBQ 2010-12-04 11:55:08 +03:00
commit 75e81577c6
5 changed files with 72 additions and 59 deletions

View file

@ -10,7 +10,7 @@
= link_to current_user.diaspora_handle, person_path(current_user.person) = link_to current_user.diaspora_handle, person_path(current_user.person)
= info_text(t('.handle_explanation')) = info_text(t('.handle_explanation'))
.span-15 .span-15.append-1
= render 'aspects/no_contacts_message', :aspect => @aspect, :contact_count => @contacts.count = render 'aspects/no_contacts_message', :aspect => @aspect, :contact_count => @contacts.count
= render 'shared/publisher', :aspect => @aspect = render 'shared/publisher', :aspect => @aspect
= render 'aspects/no_posts_message', :post_count => @post_hashes.length, :contact_count => @contacts.count = render 'aspects/no_posts_message', :post_count => @post_hashes.length, :contact_count => @contacts.count
@ -20,6 +20,6 @@
#pagination #pagination
= will_paginate @posts = will_paginate @posts
.span-8.prepend-1.last .span-8.last
= render 'shared/aspect_contacts', :contacts => @contacts, :aspect => @aspect = render 'shared/aspect_contacts', :contacts => @contacts, :aspect => @aspect

View file

@ -17,8 +17,6 @@
= form_for User.new, :url => invitation_path(User) do |invite| = form_for User.new, :url => invitation_path(User) do |invite|
%h4 %h4
Email Email
%p
= invite.label :email , t('email')
= invite.text_field :email, :title => t('.comma_seperated_plz') = invite.text_field :email, :title => t('.comma_seperated_plz')
%br %br

View file

@ -18,8 +18,11 @@
.profile_photo .profile_photo
= person_image_link(person, :to => :photos) = person_image_link(person, :to => :photos)
%p
= action_link(person, is_contact) = action_link(person, is_contact)
%hr{:style=>"width:300px;"}
%ul %ul
- if is_contact - if is_contact
%li %li

View file

@ -6,6 +6,7 @@
=person_image_link(person) =person_image_link(person)
.content .content
.from .from
%h4
=person_link(person) =person_link(person)
- if person.owner_id == current_user.id - if person.owner_id == current_user.id
@ -18,8 +19,6 @@
=aspect_links(aspects_with_post(aspects, post)) =aspect_links(aspects_with_post(aspects, post))
.right .right
- reshare_aspects = aspects_without_post(aspects, post) - reshare_aspects = aspects_without_post(aspects, post)
- unless reshare_aspects.empty? - unless reshare_aspects.empty?
= render 'shared/reshare', :aspects => reshare_aspects, :post => post = render 'shared/reshare', :aspects => reshare_aspects, :post => post
@ -29,7 +28,7 @@
.info .info
%span.time= link_to(how_long_ago(post), status_message_path(post)) %span.time= link_to(how_long_ago(post), status_message_path(post))
= comment_toggle(comments.length) = comment_toggle(comments.length)
= render "comments/comments", :post_id => post.id, :comment_hashes => comments = render "comments/comments", :post_id => post.id, :comment_hashes => comments

View file

@ -38,15 +38,15 @@ form
textarea, textarea,
label label
:font :font
:size 14px :size auto
.hidden .hidden
:display none :display none
.avatar .avatar
:width 50px :width 40px
:height 50px :height 40px
#flash_notice, #flash_notice,
#flash_error, #flash_error,
@ -221,8 +221,6 @@ header
:margin :margin
:right 1em :right 1em
.stream .stream
:margin 0 :margin 0
:padding 0 :padding 0
@ -231,6 +229,7 @@ header
:min-height 50px :min-height 50px
:border :border
:bottom 1px solid #eee :bottom 1px solid #eee
:top 1px solid #fff
&:hover &:hover
:background :background
@ -245,14 +244,6 @@ header
:height 370px :height 370px
:width 500px :width 500px
img
:-webkit-box-shadow 0 1px 2px #666
:-moz-box-shadow 0 1px 2px #666
:-webkit-border-radius 5px
:-moz-border-radius 5px
:border-radius 5px
.from .from
:text :text
:shadow 0 1px #fff :shadow 0 1px #fff
@ -261,8 +252,6 @@ header
:cursor default :cursor default
:display inline :display inline
:color #bbb :color #bbb
:font
:size 85%
a a
:font :font
:weight normal :weight normal
@ -297,6 +286,8 @@ header
:position relative :position relative
:top 6px :top 6px
:display inline-block :display inline-block
:height 50px
:width 50px
.from .from
:display inline-block :display inline-block
@ -325,37 +316,49 @@ header
li.message li.message
:position relative :position relative
:line-height 19px
:font
:family 'Arial', 'Helvetica', sans-serif
:word-wrap break-word :word-wrap break-word
:color #777 :color #777
.from
:margin
:bottom 5px
h4
:display inline
a
:color #444
.avatar .avatar
:float left :float left
:margin
:right 15px
.content .content
:margin :margin
:top 0 :top 0
:padding :padding
:left 65px :left 55px
:color #444 :color #444
:font :font
:weight normal :weight normal
:size 14px
p p
:margin :margin
:bottom 6px :bottom 6px
:padding
:right 1em
:font
:family 'arial', 'helvetica', 'sans-serif'
.photo_attachments .photo_attachments
:margin :margin
:top 7px :top 7px
img
:-webkit-box-shadow 0 1px 2px #333
:-moz-box-shadow 0 1px 2px #333
:margin
:right 0.5em
.stream_photo .stream_photo
:float left :float left
:margin :margin
@ -373,14 +376,16 @@ li.message
.small_text .small_text
:font :font
:size 10px :size smaller
div.info div.info
:color #999 :color #999
:font-size smaller :font-size smaller
a a
:color #ccc :color #ccc
.time .time
:font-size smaller
a a
:color #bbb :color #bbb
:font :font
@ -523,10 +528,8 @@ li.message
.stream ul.comments .stream ul.comments
.avatar .avatar
:width 35px :width 30px
:height 35px :height 30px
:margin
:right 10px
form form
:margin :margin
@ -550,9 +553,16 @@ ul.comments
li.comment li.comment
:list :list
:style none :style none
:padding 0.6em :padding 0.7em
:border :border
:bottom 1px solid #ddd :bottom 1px solid #ddd
:top 1px solid #fff
.from
:font
:size 1em
:margin
:bottom 0px
.youtube-player .youtube-player
:border none :border none
@ -560,27 +570,19 @@ ul.comments
:width 400px :width 400px
.content .content
:color #777 :color #666
:margin :margin
:top -2px :top 0px
:bottom -2px :bottom -2px
:padding :padding
:left 45px :left 40px
:right 20px :right 20px
.from .from
a a
:color #444 :color #444
:font
:size 12px
:line
:height 16px
div.time div.time
:color #bbb :color #bbb
:font
:size 11px
:weight bold
form form
:margin :margin
@ -652,6 +654,14 @@ li.message .from .right
li.message:hover li.message:hover
.right .right
:display inline :display inline
.from
h4
a
:color #107FC9
&:hover
:color #22AAE0
&:active
:color #005D9C
.request_buttons .request_buttons
:position absolute :position absolute
@ -704,7 +714,7 @@ li.message:hover
:font :font
:size 16px :size 16px
:font :font
:family 'marker felt', 'comic sans ms', 'comic sans', sans-serif :family 'MARKER FELT', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif
:color #333 :color #333
#debug_info #debug_info
@ -783,7 +793,7 @@ label
:padding 9px :padding 9px
:font :font
:size 18px :size 16px
:weight bold :weight bold
:color #eee :color #eee
:text-shadow 0 1px 0 #333 :text-shadow 0 1px 0 #333
@ -840,6 +850,9 @@ label
textarea textarea
:width 460px :width 460px
:margin 0 :margin 0
label
:font
:size 14px
.options_and_submit .options_and_submit
:display none :display none