From aa0739b428fdb0667527eb53cd88a9e152106969 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Sat, 4 May 2013 02:49:41 -0700 Subject: [PATCH] Add a reddiquette link to the comment form. --- r2/r2/public/static/css/reddit.less | 3 ++- r2/r2/templates/usertext.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/r2/r2/public/static/css/reddit.less b/r2/r2/public/static/css/reddit.less index c0872ea7d..431e2e976 100755 --- a/r2/r2/public/static/css/reddit.less +++ b/r2/r2/public/static/css/reddit.less @@ -3804,10 +3804,11 @@ ul.tabmenu.formtab { margin: 5px 5px 10px 0; } -.usertext .help-toggle { +.usertext .help-toggle, .usertext a.reddiquette { font-size: smaller; float:right; margin-top: 5px; + margin-left: 10px; } .usertext .bottom-area { diff --git a/r2/r2/templates/usertext.html b/r2/r2/templates/usertext.html index c6814cb3e..b7fd0f3e6 100644 --- a/r2/r2/templates/usertext.html +++ b/r2/r2/templates/usertext.html @@ -75,6 +75,8 @@ "helpon", "helpoff", style = "" if thing.creating else "display: none")} + ${_('reddiquette')} + ${error_field("TOO_LONG", thing.name, "span")} ${error_field("RATELIMIT", "ratelimit", "span")} ${error_field("NO_TEXT", thing.name, "span")}