From 584f4945de99319792aded5050fc66d973d5037f Mon Sep 17 00:00:00 2001 From: Logan Hanks Date: Wed, 7 Sep 2011 13:59:42 -0700 Subject: [PATCH] Don't show save button when no flair is available. --- r2/r2/public/static/css/reddit.css | 2 ++ r2/r2/templates/flairselector.html | 31 +++++++++++++------------- r2/r2/templates/flairtemplatelist.html | 1 + 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/r2/r2/public/static/css/reddit.css b/r2/r2/public/static/css/reddit.css index 85eec8e4d..380f96c83 100644 --- a/r2/r2/public/static/css/reddit.css +++ b/r2/r2/public/static/css/reddit.css @@ -700,6 +700,8 @@ ul.flat-vert {text-align: left;} display: block; } +.flairselector .error { text-align: center; } + .flairselector ul { float: left; width: 200px; } .flairselector .selected, .flairselector.active li { diff --git a/r2/r2/templates/flairselector.html b/r2/r2/templates/flairselector.html index d635ecb47..4fa34db06 100644 --- a/r2/r2/templates/flairselector.html +++ b/r2/r2/templates/flairselector.html @@ -21,8 +21,8 @@ ################################################################################

${_("select flair")}

- +
+
+ +
+ ${_("customize text")} + +
+ + +
+%else: +
${_("flair selection unavailable")}
+%endif diff --git a/r2/r2/templates/flairtemplatelist.html b/r2/r2/templates/flairtemplatelist.html index 67d45ef32..468db1e79 100644 --- a/r2/r2/templates/flairtemplatelist.html +++ b/r2/r2/templates/flairtemplatelist.html @@ -46,5 +46,6 @@ +