From 7c8ea0b1fca76bad9c6b6599c2eb0525e020c1b1 Mon Sep 17 00:00:00 2001 From: ketralnis Date: Mon, 18 Oct 2010 14:49:21 -0700 Subject: [PATCH] Apply reseph's patch to make the subredditinfobar have a link to the subreddit's front page --- r2/r2/templates/subredditinfobar.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/r2/r2/templates/subredditinfobar.html b/r2/r2/templates/subredditinfobar.html index 669f10e52..ff7884ff5 100644 --- a/r2/r2/templates/subredditinfobar.html +++ b/r2/r2/templates/subredditinfobar.html @@ -27,6 +27,7 @@ from r2.lib.pages import WrappedUser %> +<%namespace file="utils.html" import="plain_link"/> <%namespace file="subreddit.html" import="addremove_button" /> <%namespace file="printablebuttons.html" import="ynbutton, state_button" /> @@ -37,7 +38,7 @@
-

${thing.sr.name}

+

${plain_link(thing.sr.name, thing.sr.path, _sr_path=False)}

${addremove_button(thing.sr)} ${unsafe(Score.readers(thing.subscribers))}