Commit 8c6f3bdd authored by danielvincent's avatar danielvincent

added diaspora handle to home page with help text. added email address to account settings page.

parent 857a4b5f
......@@ -180,4 +180,8 @@ module ApplicationHelper
@@youtube_title_cache[id] = ret;
return ret
def info_text(text)
"<span class='what_is_this' title='#{text}'>?</span>".html_safe
......@@ -3,8 +3,12 @@
-# the COPYRIGHT file.
%h2{:style => "position:relative;"}
= current_user.diaspora_handle
= info_text("This is your diaspora handle. Like an email address, you can give this to people to reach you.")
= render 'aspects/no_contacts_message', :aspect => @aspect, :contact_count => @contacts.count
......@@ -16,7 +20,6 @@
= will_paginate @posts
= render 'shared/aspect_contacts', :contacts => @contacts, :aspect => @aspect
......@@ -24,11 +24,24 @@
= t('account')
= link_to t('.invite_contacts'), new_user_invitation_path(current_user)
Your diaspora handle
%b= current_user.diaspora_handle
Your email
= t('.change_password')
......@@ -81,6 +81,7 @@ $(document).ready(function(){
$(".add_aspect_button", "#aspect_nav").tipsy({gravity:'w'});
$(".person img", ".dropzone").tipsy({live:true});
$(".avatar", ".aspects").tipsy({live:true});
form = $(evt.currentTarget);
......@@ -1943,3 +1943,26 @@ h3,h4
:-moz-border-radius 5px
:border-radius 5px
:display inline-block
:cursor default
:size 8px
:color #fff
:color #ccc
:-webkit-border-radius 10px
:width 15px
:max-width 12px
:indent 4px
:position relative
:top -4px
:color #107FC9
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment