Commit 11028462 authored by SansPseudoFix's avatar SansPseudoFix Committed by Steffen van Bergerem

Fix mobile pagination for notifications view

Fix syntax

Fix syntax

closes #6364
parent 78e18373
......@@ -20,6 +20,7 @@
* Links in the left sidebar are now clickable on full width [#6267](https://github.com/diaspora/diaspora/pull/6267)
* Guard against passing nil into person\_image\_tag [#6286](https://github.com/diaspora/diaspora/pull/6286)
* Prevent Handlebars from messing up indentation of pre tags [#6339](https://github.com/diaspora/diaspora/pull/6339)
* Fix pagination design on notifications page [#6364](https://github.com/diaspora/diaspora/pull/6364)
## Features
......
......@@ -849,7 +849,7 @@ form#new_user.new_user input.btn {
text-shadow: 1px 1px 20px rgb(126, 240, 77);
}
#conversation_inbox {
#conversation_inbox, .notifications {
.pagination {
margin-left: auto;
margin-right: auto;
......
......@@ -21,4 +21,9 @@
.time_notif
= timeago(note.created_at)
= will_paginate @notifications, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
= will_paginate @notifications,
previous_label: "«",
next_label: "»",
inner_window: 1,
outer_window: 0,
renderer: WillPaginate::ActionView::BootstrapLinkRenderer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment