everyone -> 'all contacts' on home page. removed repeated user links.
This commit is contained in:
parent
a3ce55c308
commit
8df864dec1
3 changed files with 3 additions and 11 deletions
|
|
@ -3,17 +3,9 @@
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
.span-24.last
|
.span-24.last
|
||||||
%h2{:style=>"position:relative;"}
|
%h2
|
||||||
|
|
||||||
Home
|
Home
|
||||||
|
|
||||||
.right{:style=>"font-size:12px;"}
|
|
||||||
= link_to "View Profile", current_user.person
|
|
||||||
|
|
|
||||||
= link_to "Edit Profile", edit_person_path(current_user.person)
|
|
||||||
|
|
|
||||||
= link_to "Edit Account", edit_user_path(current_user)
|
|
||||||
|
|
||||||
.span-15.last
|
.span-15.last
|
||||||
= 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
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
#left_pane{:class => ("everyone" if aspect == :all)}
|
#left_pane{:class => ("everyone" if aspect == :all)}
|
||||||
- if aspect == :all
|
- if aspect == :all
|
||||||
%h2= t('.everyone')
|
%h2 All contacts
|
||||||
- else
|
- else
|
||||||
%h2{:style=>"position:relative;margin-bottom:0;"}
|
%h2{:style=>"position:relative;margin-bottom:0;"}
|
||||||
= aspect
|
= aspect
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
%p
|
%p
|
||||||
%params
|
%params
|
||||||
= status.label :message, t('.post_a_message_to', :aspect => (aspect == :all ? "everyone" : aspect))
|
= status.label :message, t('.post_a_message_to', :aspect => (aspect == :all ? "all contacts" : aspect))
|
||||||
= status.text_area :message, :rows => 2, :value => params[:prefill]
|
= status.text_area :message, :rows => 2, :value => params[:prefill]
|
||||||
|
|
||||||
= status.hidden_field :to, :value => (aspect == :all ? aspect : aspect.id)
|
= status.hidden_field :to, :value => (aspect == :all ? aspect : aspect.id)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue