From 7572c1d5eed6f78749e6b851e3f8a4fc2266d016 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 24 Mar 2018 23:14:35 -0500 Subject: [PATCH] Align-right for search and subscriptions --- src/views/search.ecr | 16 +++++++++++++--- src/views/subscriptions.ecr | 4 ++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/views/search.ecr b/src/views/search.ecr index 9f96dd3f..b1fcf62c 100644 --- a/src/views/search.ecr +++ b/src/views/search.ecr @@ -20,6 +20,16 @@ <% end %> -

- Next page -

+
+
+ <% if page > 2 %> + Previous page + <% else %> + Previous page + <% end %> +
+
+
+ Next page +
+
\ No newline at end of file diff --git a/src/views/subscriptions.ecr b/src/views/subscriptions.ecr index 3d97a8f4..26bd3fc4 100644 --- a/src/views/subscriptions.ecr +++ b/src/views/subscriptions.ecr @@ -25,14 +25,14 @@
- <% if page > 1 %> + <% if page > 2 %> Previous page <% else %> Previous page <% end %>
- \ No newline at end of file