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)
= info_text(t('.handle_explanation'))
.span-15
.span-15.append-1
= render 'aspects/no_contacts_message', :aspect => @aspect, :contact_count => @contacts.count
= render 'shared/publisher', :aspect => @aspect
= render 'aspects/no_posts_message', :post_count => @post_hashes.length, :contact_count => @contacts.count
@ -20,6 +20,6 @@
#pagination
= will_paginate @posts
.span-8.prepend-1.last
.span-8.last
= render 'shared/aspect_contacts', :contacts => @contacts, :aspect => @aspect

View file

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

View file

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

View file

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

View file

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