forked from rDrama/rDrama
Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama
commit
1041b3e564
|
@ -162,7 +162,7 @@ def user_voted(v, username, cls, vote_cls, template, standalone):
|
|||
else:
|
||||
listing = []
|
||||
|
||||
return render_template(template, next_exists=next_exists, listing=listing, page=page, v=v, standalone=standalone)
|
||||
return render_template(template, next_exists=next_exists, listing=listing, page=page, v=v, u=u, standalone=standalone)
|
||||
|
||||
@app.get("/@<username>/voted/posts")
|
||||
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "default.html" %}
|
||||
{% block pagetitle %}Profile Views{% endblock %}
|
||||
{% block pagetitle %}@{{u.username}}'s Profile Views{% endblock %}
|
||||
{% block content %}
|
||||
<h5 class="pt-4 pl-2 pb-3">Users who viewed @{{u.username}}'s profile</h5>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "userpage/voted_posts.html" %}
|
||||
{% block pagetitle %}Comments{% endblock %}
|
||||
{% block pagetitle %}Comments @{{u.username}} voted on{% endblock %}
|
||||
{% block listing %}
|
||||
<div class="posts">
|
||||
{% with comments=listing %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{% block desktopBanner %}{% endblock %}
|
||||
{% block desktopUserBanner %}{% endblock %}
|
||||
{% block mobileUserBanner %}{% endblock %}
|
||||
{% block pagetitle %}Posts{% endblock %}
|
||||
{% block pagetitle %}Posts @{{u.username}} voted on{% endblock %}
|
||||
{% block content %}
|
||||
<ul class="nav post-nav py-2">
|
||||
<li class="nav-item">
|
||||
|
|
Loading…
Reference in New Issue