From a7bfc542e1854aef45fb324f5d229508912adcf7 Mon Sep 17 00:00:00 2001 From: carolina Date: Wed, 7 Aug 2013 12:53:11 +0200 Subject: [PATCH] Add view_all link below photo thumbnails --- app/views/people/_profile_sidebar.html.haml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/people/_profile_sidebar.html.haml b/app/views/people/_profile_sidebar.html.haml index c76b4f985..9fc21ef57 100644 --- a/app/views/people/_profile_sidebar.html.haml +++ b/app/views/people/_profile_sidebar.html.haml @@ -43,15 +43,14 @@ %h4 =t('.born') = birthday_format(person.birthday) - %li - unless @photos.blank? %h4 - = link_to t('_photos'), person_photos_path(person) + = t('_photos') - for photo in @photos = image_tag(photo.url(:thumb_small)) - - - + %br + = link_to t('layouts.header.view_all'), person_photos_path(person) + %br %br