Replace css class 'notice' that is used in User profile template field help text with new 'fieldhelptext' class. Notice is part of CSS for notification bar and we want width limit just for field help text not for notification bar text.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Tue, 20 Jan 2009 22:01:02 +0000
changeset 852 c94bf642be8d
parent 851 506752de2e19
child 853 062290a3b3cf
Replace css class 'notice' that is used in User profile template field help text with new 'fieldhelptext' class. Notice is part of CSS for notification bar and we want width limit just for field help text not for notification bar text. Patch by: Pawel Solyga Review by: to-be-reviewed
app/soc/content/css/soc-090120.css
app/soc/templates/soc/user/edit_self.html
--- a/app/soc/content/css/soc-090120.css	Tue Jan 20 21:48:28 2009 +0000
+++ b/app/soc/content/css/soc-090120.css	Tue Jan 20 22:01:02 2009 +0000
@@ -441,6 +441,12 @@
 }
 
 .notice {
+  background:#fad163; 
+  font-size: small;
+  font-weight: bold;
+}
+
+.fieldhelptext {
   width: 450px;
   background:#fad163; 
   font-size: small;
--- a/app/soc/templates/soc/user/edit_self.html	Tue Jan 20 21:48:28 2009 +0000
+++ b/app/soc/templates/soc/user/edit_self.html	Tue Jan 20 22:01:02 2009 +0000
@@ -32,7 +32,7 @@
  <table>
   {% field_as_table_row form.name %}
   <tr>
-   <td class="notice" colspan="4">
+   <td class="fieldhelptext" colspan="4">
 While you can use your real name, like <tt>First Last</tt>, please
 keep in mind that this public name will be used as your alias
 <b><i>throughout the site</i></b>, displayed to all users, for comments,
@@ -47,7 +47,7 @@
 
   {% field_as_table_row form.link_id %}
   <tr>
-   <td class="notice" colspan="4">
+   <td class="fieldhelptext" colspan="4">
 This <i>Link ID</i> is used throughout the site when creating various URL
 links related to you and content you create.  As a result, it may only
 consist of lower ASCII characters, digits, and underscores.  Also, it must