diff --git a/app/blueprints/threads/__init__.py b/app/blueprints/threads/__init__.py index 7f4454bc..9e2826e7 100644 --- a/app/blueprints/threads/__init__.py +++ b/app/blueprints/threads/__init__.py @@ -355,10 +355,10 @@ def new(): return render_template("threads/new.html", form=form, allow_private_change=allow_change, package=package) -@bp.route("/users//replies/") -def user_replies(username): +@bp.route("/users//comments/") +def user_comments(username): user = User.query.filter_by(username=username).first() if user is None: abort(404) - return render_template("threads/user_replies.html", user=user, replies=user.replies) \ No newline at end of file + return render_template("threads/user_comments.html", user=user, replies=user.replies) \ No newline at end of file diff --git a/app/templates/threads/user_replies.html b/app/templates/threads/user_comments.html similarity index 93% rename from app/templates/threads/user_replies.html rename to app/templates/threads/user_comments.html index 5cfe2a37..1eeb6c09 100644 --- a/app/templates/threads/user_replies.html +++ b/app/templates/threads/user_comments.html @@ -6,11 +6,11 @@ {% endblock %} {% block title %} - {{ _("Replies by %(user)s", user=user.display_name) }} + {{ _("Comments by %(user)s", user=user.display_name) }} {% endblock %} {% block content %} -

{{ _("Replies by %(user)s", user=self.link()) }}

+

{{ _("Comments by %(user)s", user=self.link()) }}