better right pane sections
This commit is contained in:
parent
7c949f4377
commit
0391795f80
7 changed files with 74 additions and 26 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
:aspect_ids => @aspect_ids,
|
:aspect_ids => @aspect_ids,
|
||||||
:posts => @posts
|
:posts => @posts
|
||||||
|
|
||||||
.span-7.last
|
.span-7.leftBar.last
|
||||||
#home_user_badge
|
#home_user_badge
|
||||||
= owner_image_link
|
= owner_image_link
|
||||||
%h3{:style => "position:relative;"}
|
%h3{:style => "position:relative;"}
|
||||||
|
|
@ -20,14 +20,36 @@
|
||||||
.description
|
.description
|
||||||
= link_to current_user.diaspora_handle, person_path(current_user.person)
|
= link_to current_user.diaspora_handle, person_path(current_user.person)
|
||||||
|
|
||||||
%h4.section.invite_friends
|
.section
|
||||||
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
|
.title
|
||||||
%h4.section.invite_friends= link_to "Generate an authentication token for Cubbi.es", token_path
|
= image_tag('/images/icons/bookmark.png')
|
||||||
- if @invites > 0
|
%h5
|
||||||
.section.invite_friends
|
Diaspora Bookmarklet
|
||||||
%h4= t('shared.invitations.invite_your_friends')
|
.content
|
||||||
= render "shared/invitations", :invites => @invites
|
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
|
||||||
|
|
||||||
|
.section
|
||||||
|
.title
|
||||||
|
= image_tag('/images/icons/cubbies.png')
|
||||||
|
%h5
|
||||||
|
Connect to Cubbi.es
|
||||||
|
.content
|
||||||
|
Cubbi.es is the first Diaspora application under development.
|
||||||
|
= link_to "Follow the instructions to get started", token_path
|
||||||
|
|
||||||
|
- if @invites > 0
|
||||||
|
.section
|
||||||
|
.title
|
||||||
|
|
||||||
|
= image_tag('/images/icons/plus.png')
|
||||||
|
%h5
|
||||||
|
.right
|
||||||
|
= t('shared.invitations.invitations_left', :count => @invites)
|
||||||
|
= t('shared.invitations.invite_your_friends')
|
||||||
|
.content
|
||||||
|
= render "shared/invitations", :invites => @invites
|
||||||
|
|
||||||
|
%hr
|
||||||
|
|
||||||
#aspect_listings.section
|
#aspect_listings.section
|
||||||
= render 'aspects/aspect_listings', :aspects => @aspects
|
= render 'aspects/aspect_listings', :aspects => @aspects
|
||||||
|
|
|
||||||
|
|
@ -3,18 +3,13 @@
|
||||||
-else
|
-else
|
||||||
-if invites > 0
|
-if invites > 0
|
||||||
- if SERVICES['facebook']['app_id'] !=""
|
- if SERVICES['facebook']['app_id'] !=""
|
||||||
%h4{:style => 'text-align:center;'}
|
- if defined? remote
|
||||||
- if defined? remote
|
= link_to t('.from_facebook'), friend_finder_path('facebook', :remote => remote), :rel => 'facebox'
|
||||||
= link_to t('.from_facebook'), friend_finder_path('facebook', :remote => remote), :rel => 'facebox'
|
-else
|
||||||
-else
|
= link_to t('.from_facebook'), friend_finder_path('facebook'), :rel => 'facebox'
|
||||||
= link_to t('.from_facebook'), friend_finder_path('facebook'), :rel => 'facebox'
|
|
||||||
|
|
||||||
= t('or')
|
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone'), :rel => 'facebox'
|
||||||
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone'), :rel => 'facebox'
|
|
||||||
- else
|
- else
|
||||||
%h4
|
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone'), :rel => 'facebox'
|
||||||
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone'), :rel => 'facebox'
|
|
||||||
%h5{:style => 'text-align:center;'}
|
|
||||||
= t('.invitations_left', :count => invites)
|
|
||||||
- else
|
- else
|
||||||
= t('.dont_have_now')
|
= t('.dont_have_now')
|
||||||
|
|
|
||||||
|
|
@ -160,8 +160,8 @@ en:
|
||||||
bookmarklet:
|
bookmarklet:
|
||||||
post_success: "Posted! Closing!"
|
post_success: "Posted! Closing!"
|
||||||
post_something: "Post something to Diaspora"
|
post_something: "Post something to Diaspora"
|
||||||
explanation: "%{link} from anywhere by bookmarking this link."
|
explanation: "Post to Diaspora from anywhere by bookmarking %{link}."
|
||||||
explanation_link_text: "Post to Diaspora"
|
explanation_link_text: "this link"
|
||||||
|
|
||||||
comments:
|
comments:
|
||||||
zero: "no comments"
|
zero: "no comments"
|
||||||
|
|
@ -554,7 +554,7 @@ en:
|
||||||
invitations:
|
invitations:
|
||||||
invites: "Invites"
|
invites: "Invites"
|
||||||
invite_someone: "Invite someone"
|
invite_someone: "Invite someone"
|
||||||
invitations_left: "(%{count} left)"
|
invitations_left: "%{count} left"
|
||||||
dont_have_now: "You don't have any right now, but more invites are coming soon!"
|
dont_have_now: "You don't have any right now, but more invites are coming soon!"
|
||||||
invites_closed: "Invites are currently closed on this Diaspora pod"
|
invites_closed: "Invites are currently closed on this Diaspora pod"
|
||||||
invite_your_friends: "Invite your friends"
|
invite_your_friends: "Invite your friends"
|
||||||
|
|
|
||||||
BIN
public/images/icons/bookmark.png
Normal file
BIN
public/images/icons/bookmark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
public/images/icons/cubbies.png
Normal file
BIN
public/images/icons/cubbies.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
public/images/icons/plus.png
Normal file
BIN
public/images/icons/plus.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 365 B |
|
|
@ -1389,10 +1389,6 @@ ul#settings_nav
|
||||||
a
|
a
|
||||||
:color #69AEDD
|
:color #69AEDD
|
||||||
|
|
||||||
.section
|
|
||||||
:margin
|
|
||||||
:bottom 24px
|
|
||||||
|
|
||||||
#aspect_listings
|
#aspect_listings
|
||||||
.contacts
|
.contacts
|
||||||
:margin
|
:margin
|
||||||
|
|
@ -2825,3 +2821,38 @@ h1.tag
|
||||||
:color #eee !important
|
:color #eee !important
|
||||||
:font
|
:font
|
||||||
:weight bold
|
:weight bold
|
||||||
|
|
||||||
|
.leftBar
|
||||||
|
.title
|
||||||
|
:position relative
|
||||||
|
:border
|
||||||
|
:bottom 1px solid #888
|
||||||
|
:padding 2px 0
|
||||||
|
:left 24px
|
||||||
|
|
||||||
|
.right
|
||||||
|
:right 4px
|
||||||
|
:top 3px
|
||||||
|
:font-size smaller
|
||||||
|
:font-weight bold
|
||||||
|
:color #777
|
||||||
|
|
||||||
|
h5
|
||||||
|
:font-size 13px
|
||||||
|
:font-weight 500
|
||||||
|
:margin 0
|
||||||
|
:color #444
|
||||||
|
|
||||||
|
img
|
||||||
|
:position absolute
|
||||||
|
:left 3px
|
||||||
|
:top 3px
|
||||||
|
|
||||||
|
.section
|
||||||
|
.content
|
||||||
|
:padding 8px
|
||||||
|
:color #999
|
||||||
|
:font-size 11px
|
||||||
|
:height 36px
|
||||||
|
:margin
|
||||||
|
:bottom 4px
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue