From 05f4028bce905080df532eb61e075be173f21100 Mon Sep 17 00:00:00 2001 From: bsimpson63 Date: Tue, 1 May 2012 09:19:44 -0700 Subject: [PATCH] Display comment's link, author, subreddit on editreddit listings. --- r2/r2/controllers/front.py | 1 + r2/r2/templates/comment.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/r2/r2/controllers/front.py b/r2/r2/controllers/front.py index e850a92d2..1b93e0bf1 100755 --- a/r2/r2/controllers/front.py +++ b/r2/r2/controllers/front.py @@ -610,6 +610,7 @@ class FrontController(RedditController): user = Account._by_name(name) except NotFound: c.errors.add(errors.USER_DOESNT_EXIST, field='name') + c.profilepage = True if isinstance(c.site, ModContribSR): return self._edit_modcontrib_reddit(location, num, after, reverse, count, created) diff --git a/r2/r2/templates/comment.html b/r2/r2/templates/comment.html index 1695bb977..ea5856fa7 100755 --- a/r2/r2/templates/comment.html +++ b/r2/r2/templates/comment.html @@ -65,7 +65,7 @@ ${parent.midcol(not thing.collapsed, cls = cls)} ${_("in")} ${plain_link(thing.subreddit.name, thing.subreddit_path, sr_path = False, - cname = False, _class = "subreddit hover")} + cname = False, _class = "subreddit hover")} %endif