Skip to content

Commit

Permalink
small touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeaux committed Sep 23, 2022
1 parent 6569c76 commit 35274d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion views/mediaBrowsing/popularUploads.pug
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ block content


if uploads
div.col-sm-12(style="display:inline;text-align:center;")
include ../viewPartials/pagination


include ../viewPartials/popularUploadsPagination



Expand Down
4 changes: 2 additions & 2 deletions views/mediaBrowsing/recentUploads.pug
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ block content

include ../viewPartials/adminSensitivityButtons

div.col-sm-12(style="display:inline")
div.col-sm-12(style="display:inline;text-align:center;")
include ../viewPartials/pagination


if user && user.role == 'admin'
if user && user.role === 'admin'
include ../viewPartials/adminChangeRatingsJs

include ../viewPartials/changeSensitivityFilterJs
Expand Down
4 changes: 2 additions & 2 deletions views/viewPartials/adminSensitivityButtons.pug
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// buttons on the bottom of the page to adjust visibility/maturity/category
if user && user.role == 'admin'
if user && user.role === 'admin'
// TODO: need to add visibility
div.center-block.text-center(style="margin-top:30px")
div.center-block.text-center.col-sm-12(style="margin-top:30px")
h4 Change Rating
button.btn-lg.button-success.change-rating(rating="sensitive") Mark As Sensitive
button.btn-lg.button-success.change-rating(rating="mature") Mark As NSFW (Mature)
Expand Down

0 comments on commit 35274d9

Please sign in to comment.