diff --git a/src/postorius/forms.py b/src/postorius/forms.py index ba1a1c2..22f4694 100644 --- a/src/postorius/forms.py +++ b/src/postorius/forms.py @@ -220,7 +220,8 @@ coerce=lambda x: x == 'True', choices=((True, _('Yes')), (False, _('No'))), widget=forms.RadioSelect, - label=_('Advertise the existance of this list?')) + label=_('Advertise the existance of this list?'), + help_text=('Choose whether to include this list on the list of all lists')) filter_content = forms.TypedChoiceField( coerce=lambda x: x == 'True', choices=((True, _('Yes')), (False, _('No'))), diff --git a/src/postorius/static/postorius/css/style.css b/src/postorius/static/postorius/css/style.css index 58a1d24..e75a898 100755 --- a/src/postorius/static/postorius/css/style.css +++ b/src/postorius/static/postorius/css/style.css @@ -148,3 +148,15 @@ color: #A22630; } +/* Mouseover help */ +span.more_info {border-bottom: thin dotted; background: #ffeedd;} +span.more_info:hover {text-decoration: none; background: #ffffff; z-index: 6; } +span.more_info span {position: absolute; left: -9999px; + margin: 0em; padding: 0.5em; + border-style:solid; border-color:black; border-width:1px; z-index: 6;} +span.more_info:hover span {left: 2%; background: #ffffff;} +span.more_info span {position: absolute; left: -9999px; + margin: 2em; padding: 0.5em; + border-style:solid; border-color:black; border-width:1px;} +span.more_info:hover span {margin: 2em; background: #ffffff; +z-index:6;} diff --git a/src/postorius/templates/postorius/lists/settings.html b/src/postorius/templates/postorius/lists/settings.html index 98beb49..aaf6a7d 100644 --- a/src/postorius/templates/postorius/lists/settings.html +++ b/src/postorius/templates/postorius/lists/settings.html @@ -12,10 +12,22 @@ {% if visible_section %} + + {% csrf_token %} - {{ form.as_p }} - + {% for field in form %} + + {% endfor %} + +
+ {{ field.errors }} + {{ field.label_tag }}:
+ [More info{{ field.help_text }} + ] +
{{ field }}
+ +
{% endif %} {% endblock %}