streamline new profile sidebar elements
* titlecase "Photos" * Pull "See all" to the left (to match up with "View all") * Replace "See all" with "View all"
This commit is contained in:
parent
50e71422a0
commit
eea3818c45
3 changed files with 5 additions and 6 deletions
|
|
@ -1887,8 +1887,6 @@ h1.tag
|
||||||
.section
|
.section
|
||||||
:margin
|
:margin
|
||||||
:bottom 4px
|
:bottom 4px
|
||||||
.see_all
|
|
||||||
:text-align center
|
|
||||||
|
|
||||||
.avatar
|
.avatar
|
||||||
:height 45px
|
:height 45px
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
- if @photos.present?
|
- if @photos.present?
|
||||||
%li
|
%li
|
||||||
%h4
|
%h4
|
||||||
= t('_photos')
|
= t('.photos')
|
||||||
.item_count
|
.item_count
|
||||||
= "#{@photos.count}"
|
= "#{@photos.count}"
|
||||||
- @photos.limit(3).each do |photo|
|
- @photos.limit(3).each do |photo|
|
||||||
|
|
@ -64,17 +64,17 @@
|
||||||
.section.contact_pictures
|
.section.contact_pictures
|
||||||
- current_user.contacts.limit(8).each do |contact|
|
- current_user.contacts.limit(8).each do |contact|
|
||||||
= person_image_link contact.person, :size => :thumb_small
|
= person_image_link contact.person, :size => :thumb_small
|
||||||
%p.see_all= link_to t('people.show.see_all'), contacts_path
|
%p.see_all= link_to t('layouts.header.view_all'), contacts_path
|
||||||
- elsif @contact.persisted? && @contacts_of_contact_count > 0
|
- elsif @contact.persisted? && @contacts_of_contact_count > 0
|
||||||
%li#contacts_of_contact
|
%li#contacts_of_contact
|
||||||
%h4
|
%h4
|
||||||
= t('_contacts')
|
= t('_contacts')
|
||||||
.item_count
|
.item_count
|
||||||
= @contacts_of_contact_count
|
= @contacts_of_contact_count
|
||||||
.section.contact_pictures
|
.section.contact_pictures
|
||||||
-@contacts_of_contact.limit(8).each do |person|
|
-@contacts_of_contact.limit(8).each do |person|
|
||||||
= person_image_link person, :size => :thumb_small
|
= person_image_link person, :size => :thumb_small
|
||||||
%p.see_all= link_to t('people.show.see_all'), person_contacts_path(@person)
|
%p.see_all= link_to t('layouts.header.view_all'), person_contacts_path(@person)
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
|
|
|
||||||
|
|
@ -590,6 +590,7 @@ en:
|
||||||
location: "Location"
|
location: "Location"
|
||||||
gender: "Gender"
|
gender: "Gender"
|
||||||
born: "Birthday"
|
born: "Birthday"
|
||||||
|
photos: "Photos"
|
||||||
in_aspects: "in aspects"
|
in_aspects: "in aspects"
|
||||||
remove_from: "Remove %{name} from %{aspect}?"
|
remove_from: "Remove %{name} from %{aspect}?"
|
||||||
helper:
|
helper:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue