From a07d3616a5e6b97d3049cd386c5f4e5cdd0a7215 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Fri, 15 Nov 2013 14:33:46 -0800 Subject: [PATCH 1/2] Add lightbox html to unauthenticated header --- app/views/layouts/_header.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index c2984b64b..3c77464db 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -11,3 +11,11 @@ - unless current_page?(controller: :registrations, action: :new) %li= link_to t('devise.shared.links.sign_up'), new_user_registration_path, class: 'login' %li= link_to t('devise.shared.links.sign_in'), new_user_session_path, class: 'login' + #lightbox + #lightbox-content + %a#lightbox-close-link(href='#') + [x] + =t('javascripts.header.close') + %img#lightbox-image + #lightbox-imageset + #lightbox-backdrop From 6ad083bf5b4fb6da20b855f126e47ae8f480928c Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Fri, 15 Nov 2013 15:07:09 -0800 Subject: [PATCH 2/2] Mark changelog to note fix for 4432 --- Changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog.md b/Changelog.md index ab27d20c2..23fb426a2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -35,6 +35,7 @@ * Force comments sort order in mobile spv [#4578](https://github.com/diaspora/diaspora/pull/4578) * Fix getting started page for mobile [#4536](https://github.com/diaspora/diaspora/pull/4536) * Refactor mobile header, fix [#4579](https://github.com/diaspora/diaspora/issues/4579) +* Add lightbox to unauthenticated header, fix [#4432](https://github.com/diaspora/diaspora/issues/4432) ## Features * Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353)