From 272cf6078817722de74e5a4ac3665aab0aa08496 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Fri, 31 May 2013 01:55:27 +0200 Subject: [PATCH] Add back-to-top button on tag and user pages --- Changelog.md | 1 + app/views/people/show.html.haml | 3 +++ app/views/tags/show.haml | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 3e4e49742..3c225432e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -12,6 +12,7 @@ * Fix post preview from tag pages [#4157](https://github.com/diaspora/diaspora/issues/4157) * Fix tags ordering in chrome [#4133](https://github.com/diaspora/diaspora/issues/4133) * Fix src URL for oEmbed iFrame [#4178](https://github.com/diaspora/diaspora/pull/4178) +* Add back-to-top button on tag and user pages [#4185](https://github.com/diaspora/diaspora/issues/4185) ## Features diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index 06ec889e0..869f1316e 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -36,3 +36,6 @@ #paginate %span.loader.hidden + + %a{:id=>"back-to-top", :title=>"#{t('layouts.application.back_to_top')}", :href=>"#"} + ⇧ diff --git a/app/views/tags/show.haml b/app/views/tags/show.haml index ac6132215..f810b3b16 100644 --- a/app/views/tags/show.haml +++ b/app/views/tags/show.haml @@ -41,4 +41,6 @@ #main_stream.stream #paginate - + + %a{:id=>"back-to-top", :title=>"#{t('layouts.application.back_to_top')}", :href=>"#"} + ⇧