diff --git a/src/postorius/forms.py b/src/postorius/forms.py index eec1361..5b4b1df 100644 --- a/src/postorius/forms.py +++ b/src/postorius/forms.py @@ -54,12 +54,16 @@ label=_('Mail Host'), error_messages={'required': _('Please enter a domain name'), 'invalid': _('Please enter a valid domain name.')}, - required=True) + required=True, + help_text=_('Example: domain.org'), + ) web_host = forms.CharField( label=_('Web Host'), error_messages={'required': _('Please enter a host name'), 'invalid': _('Please enter a valid host name.')}, - required=True) + required=True, + help_text=_('Example: http://www.domain.org'), + ) description = forms.CharField( label=_('Description'), required=False) diff --git a/src/postorius/templates/postorius/domain_confirm_delete.html b/src/postorius/templates/postorius/domain_confirm_delete.html index d728b3f..96fe721 100644 --- a/src/postorius/templates/postorius/domain_confirm_delete.html +++ b/src/postorius/templates/postorius/domain_confirm_delete.html @@ -8,11 +8,17 @@ {% load nav_helpers %} {% block main %} -
{% trans 'Are you sure you want to permanently delete this Domain?' %}
+ + {% endblock main %} diff --git a/src/postorius/templates/postorius/domain_index.html b/src/postorius/templates/postorius/domain_index.html index 881885d..da4c017 100644 --- a/src/postorius/templates/postorius/domain_index.html +++ b/src/postorius/templates/postorius/domain_index.html @@ -6,32 +6,34 @@ {% endblock %} {% block main %} -{% trans 'Mail Host' %} | -{% trans 'URL Host' %} | -{% trans 'Description' %} | -- |
---|---|---|---|
{{ domain.mail_host }} | -{{ domain.base_url }} | -{{ domain.description }} | -{% trans 'Delete' %} | -
{% trans 'Mail Host' %} | +{% trans 'URL Host' %} | +{% trans 'Description' %} | ++ |
---|---|---|---|
{{ domain.mail_host }} | +{{ domain.base_url }} | +{{ domain.description }} | +{% trans 'Delete' %} | +
- {% if domain_count < 2 %} - {% trans 'Create New Domain' %} - {% endif %} - {% trans 'Create New List' %} -
- {% endif %} - {% if lists|length > 0 %} -{% trans 'List name' %} | -{% trans 'Post address' %} | -{% trans 'Description' %} | -
---|---|---|
- {{ list.display_name }} - {% if not list.settings.advertised %} ({% trans 'unadvertised' %}*){% endif %} - | -{{ list.fqdn_listname }} | -{{ list.settings.description }} | -
{% trans 'There are currently no mailing lists.' %}
- {% endif %} -+ {% if domain_count < 2 %} + {% trans 'Create New Domain' %} + {% endif %} + {% trans 'Create New List' %} +
+ {% endif %} + {% if lists|length > 0 %} +{% trans 'List name' %} | +{% trans 'Post address' %} | +{% trans 'Description' %} | +
---|---|---|
+ {{ list.display_name }} + {% if not list.settings.advertised %} ({% trans 'unadvertised' %}*){% endif %} + | +{{ list.fqdn_listname }} | +{{ list.settings.description }} | +
{% trans 'There are currently no mailing lists.' %}
+ {% endif %} + {% endblock main %} diff --git a/src/postorius/templates/postorius/lists/new.html b/src/postorius/templates/postorius/lists/new.html index 6a215a4..3560ee2 100644 --- a/src/postorius/templates/postorius/lists/new.html +++ b/src/postorius/templates/postorius/lists/new.html @@ -7,38 +7,38 @@ {% endblock %} {% block main %} -