Add view_all link below photo thumbnails
This commit is contained in:
parent
d107e7d11d
commit
a7bfc542e1
1 changed files with 4 additions and 5 deletions
|
|
@ -43,15 +43,14 @@
|
||||||
%h4
|
%h4
|
||||||
=t('.born')
|
=t('.born')
|
||||||
= birthday_format(person.birthday)
|
= birthday_format(person.birthday)
|
||||||
|
|
||||||
%li
|
%li
|
||||||
- unless @photos.blank?
|
- unless @photos.blank?
|
||||||
%h4
|
%h4
|
||||||
= link_to t('_photos'), person_photos_path(person)
|
= t('_photos')
|
||||||
- for photo in @photos
|
- for photo in @photos
|
||||||
= image_tag(photo.url(:thumb_small))
|
= image_tag(photo.url(:thumb_small))
|
||||||
|
%br
|
||||||
|
= link_to t('layouts.header.view_all'), person_photos_path(person)
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue