fsdfs
This commit is contained in:
parent
8660db98f9
commit
e6a4b16c67
3 changed files with 2 additions and 10 deletions
|
@ -20,7 +20,6 @@ def send_notification(uid, text, autojanny=False):
|
|||
new_comment = Comment(author_id=author_id,
|
||||
parent_submission=None,
|
||||
distinguish_level=6,
|
||||
body=text,
|
||||
body_html=text_html,
|
||||
notifiedto=uid
|
||||
)
|
||||
|
@ -41,7 +40,6 @@ def send_follow_notif(vid, user, text):
|
|||
new_comment = Comment(author_id=NOTIFICATIONS_ID,
|
||||
parent_submission=None,
|
||||
distinguish_level=6,
|
||||
body=text,
|
||||
body_html=text_html,
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
|
@ -60,7 +58,6 @@ def send_unfollow_notif(vid, user, text):
|
|||
new_comment = Comment(author_id=NOTIFICATIONS_ID,
|
||||
parent_submission=None,
|
||||
distinguish_level=6,
|
||||
body=text,
|
||||
body_html=text_html,
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
|
@ -79,7 +76,6 @@ def send_block_notif(vid, user, text):
|
|||
new_comment = Comment(author_id=NOTIFICATIONS_ID,
|
||||
parent_submission=None,
|
||||
distinguish_level=6,
|
||||
body=text,
|
||||
body_html=text_html,
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
|
@ -98,7 +94,6 @@ def send_unblock_notif(vid, user, text):
|
|||
new_comment = Comment(author_id=NOTIFICATIONS_ID,
|
||||
parent_submission=None,
|
||||
distinguish_level=6,
|
||||
body=text,
|
||||
body_html=text_html,
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
|
@ -121,7 +116,6 @@ def send_admin(vid, text):
|
|||
parent_submission=None,
|
||||
level=1,
|
||||
sentto=0,
|
||||
body=text,
|
||||
body_html=text_html,
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
|
|
|
@ -332,7 +332,6 @@ def message2(v, username):
|
|||
parent_submission=None,
|
||||
level=1,
|
||||
sentto=user.id,
|
||||
body=message,
|
||||
body_html=text_html,
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
|
@ -383,7 +382,6 @@ def messagereply(v):
|
|||
parent_comment_id=id,
|
||||
level=parent.level + 1,
|
||||
sentto=user.id,
|
||||
body=message,
|
||||
body_html=text_html,
|
||||
)
|
||||
g.db.add(new_comment)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<pre></pre>
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
|
||||
<div class="d-flex align-items-center sortingbarmargin">
|
||||
<div class="d-flex px-2 align-items-center sortingbarmargin">
|
||||
<div class="text-small font-weight-bold mr-2"></div>
|
||||
<div class="dropdown dropdown-actions">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
|
@ -53,7 +53,7 @@
|
|||
|
||||
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
|
||||
|
||||
<div class="col-12">
|
||||
<div class="col-12 px-3">
|
||||
|
||||
<div class="posts" id="posts">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue