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
|
||||
:margin
|
||||
:bottom 4px
|
||||
.see_all
|
||||
:text-align center
|
||||
|
||||
.avatar
|
||||
:height 45px
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
- if @photos.present?
|
||||
%li
|
||||
%h4
|
||||
= t('_photos')
|
||||
= t('.photos')
|
||||
.item_count
|
||||
= "#{@photos.count}"
|
||||
- @photos.limit(3).each do |photo|
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
.section.contact_pictures
|
||||
- current_user.contacts.limit(8).each do |contact|
|
||||
= 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
|
||||
%li#contacts_of_contact
|
||||
%h4
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
.section.contact_pictures
|
||||
-@contacts_of_contact.limit(8).each do |person|
|
||||
= 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
|
||||
|
|
|
|||
|
|
@ -590,6 +590,7 @@ en:
|
|||
location: "Location"
|
||||
gender: "Gender"
|
||||
born: "Birthday"
|
||||
photos: "Photos"
|
||||
in_aspects: "in aspects"
|
||||
remove_from: "Remove %{name} from %{aspect}?"
|
||||
helper:
|
||||
|
|
|
|||
Loading…
Reference in a new issue