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
--- 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