forked from rDrama/rDrama
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
commit
8bff3774b0
|
@ -207,7 +207,14 @@ class Submission(Base):
|
|||
@lazy
|
||||
def author_name(self):
|
||||
if self.ghost: return '👻'
|
||||
if self.author.earlylife: return f'((({self.author.username})))'
|
||||
if self.author.earlylife:
|
||||
expiry = int(self.author.earlylife - time.time())
|
||||
if expiry > 86400:
|
||||
name = self.author.username
|
||||
for i in range(int(expiry / 86400 + 1)):
|
||||
name = f'((({name})))'
|
||||
return name
|
||||
return f'((({self.author.username})))'
|
||||
return self.author.username
|
||||
|
||||
@property
|
||||
|
|
|
@ -325,7 +325,7 @@
|
|||
<li class="mt-3">
|
||||
{% if request.path == "/chat" %}
|
||||
<h4 class="ml-3">Users in chat right now</h4>
|
||||
<div id="online3" class="col text-left d-lg-none bg-white" style="max-width:300px"></div>
|
||||
<div id="online3" class="col text-left d-lg-none bg-white mb-5" style="max-width:300px"></div>
|
||||
<pre>
|
||||
|
||||
|
||||
|
@ -333,6 +333,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
</pre>
|
||||
{% elif has_sidebar %}
|
||||
{% include "sidebar_" + SITE_NAME + ".html" %}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue