diff --git a/Changelog.md b/Changelog.md index b4ed76138..b12bd3eaf 100644 --- a/Changelog.md +++ b/Changelog.md @@ -37,6 +37,7 @@ * 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) * 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) ## Features * Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353) 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