From 1082e3be99669671b6c745307131a7cb8d54eabc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 5 Sep 2014 15:54:12 -0400 Subject: pagination on all queries --- views/staff/users/index.ejs | 2 ++ views/staff/users/media.ejs | 2 ++ views/staff/users/show.ejs | 17 +++++++---------- 3 files changed, 11 insertions(+), 10 deletions(-) (limited to 'views/staff/users') diff --git a/views/staff/users/index.ejs b/views/staff/users/index.ejs index 8c56565..f14d666 100644 --- a/views/staff/users/index.ejs +++ b/views/staff/users/index.ejs @@ -11,6 +11,8 @@
+[[ include ../_pagination ]] [[ include ../_users ]] +[[ include ../_pagination ]] [[ include ../_footer ]] diff --git a/views/staff/users/media.ejs b/views/staff/users/media.ejs index 6ea2668..b13e5fb 100644 --- a/views/staff/users/media.ejs +++ b/views/staff/users/media.ejs @@ -11,6 +11,8 @@
+[[ include ../_pagination ]] [[ include ../_media ]] +[[ include ../_pagination ]] [[ include ../_footer ]] diff --git a/views/staff/users/show.ejs b/views/staff/users/show.ejs index 127ca8c..8e9b447 100644 --- a/views/staff/users/show.ejs +++ b/views/staff/users/show.ejs @@ -80,17 +80,14 @@ [[- profile.isStaff ? "yes" : "no" ]] - - - - - - [[ if (String(user._id) != String(profile._id)) { ]] - - [[ } ]] - - + +

+
+ [[ if (String(user._id) != String(profile._id)) { ]] + + [[ } ]] +

Projects

-- cgit v1.2.3-70-g09d2