forked from MarseyWorld/MarseyWorld
sneed
parent
6509e96bf8
commit
74fe53466b
|
@ -175,7 +175,7 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing):
|
|||
def rendered_page(self, sort=None, comment=None, comment_info=None, v=None):
|
||||
|
||||
# check for banned
|
||||
if v and v.admin_level >= 3:
|
||||
if v and (v.admin_level >= 3 or self.author_id == v.id):
|
||||
template = "submission.html"
|
||||
elif self.is_banned:
|
||||
template = "submission_banned.html"
|
||||
|
|
Loading…
Reference in New Issue