diff --git a/Changelog.md b/Changelog.md index b12bd3eaf..002e5723c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -38,6 +38,7 @@ * Refactor mobile header, fix [#4579](https://github.com/diaspora/diaspora/issues/4579) * Fix avatar display on mobile profile [#4591](https://github.com/diaspora/diaspora/pull/4591) * Add lightbox to unauthenticated header, fix [#4432](https://github.com/diaspora/diaspora/issues/4432) +* Fix "more picture" indication (+n) on mobile by adding a link on the indication [#4592](https://github.com/diaspora/diaspora/pull/4592) ## Features * Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353) diff --git a/app/views/shared/_photo_area.mobile.haml b/app/views/shared/_photo_area.mobile.haml index 78b78ec90..78ac89a40 100644 --- a/app/views/shared/_photo_area.mobile.haml +++ b/app/views/shared/_photo_area.mobile.haml @@ -6,10 +6,11 @@ - if post.is_a?(StatusMessage) -if post.photos.size > 0 .photo_attachments - - if post.photos.size > 1 - .additional_photo_count - = "+ #{post.photos.size-1}" - = link_to (image_tag post.photos.first.url(:thumb_large), :class => "stream-photo big-stream-photo"), person_photo_path(post.author, post.photos.first), :class => "stream-photo-link" + = link_to person_photo_path(post.author, post.photos.first), class: "stream-photo-link" do + - if post.photos.size > 1 + .additional_photo_count + = "+ #{post.photos.size-1}" + = image_tag post.photos.first.url(:thumb_large), class: "stream-photo big-stream-photo" - elsif post.activity_streams? = image_tag post.image_url