enable mailbox creation

- add managemails.urls to gnuviechadmin.urls
- add link to create_mailbox to customerhostingpackage_detail.html template
- document feature in changelog
This commit is contained in:
Jan Dittberner 2015-01-25 12:16:18 +01:00
parent 449af174ec
commit d1119331d8
3 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
Changelog
=========
* :feature:`-` implement creation of new mailboxes for hosting packages
* :support:`-` move common form code to new module gvawebcore.forms
* :feature:`-` make it possible to assign domains to a customer
* :feature:`-` add hosting packages list for staff users

View File

@ -12,6 +12,7 @@ urlpatterns = patterns(
url(r'^accounts/', include('allauth.urls')),
url(r'^domains/', include('domains.urls')),
url(r'^hosting/', include('hostingpackages.urls')),
url(r'^mail/', include('managemails.urls')),
url(r'^osuser/', include('osusers.urls')),
url(r'^admin/', include(admin.site.urls)),
)

View File

@ -140,7 +140,7 @@
<p class="panel-body text-info">{% trans "There are no mailboxes assigned to this hosting package yet." %}</p>
{% endif %}
{% if hostingpackage.may_add_mailbox %}
<p class="panel-body"><a href="#" class="btn btn-primary">{% trans "Add mailbox" %}</a></p>
<p class="panel-body"><a href="{% url 'create_mailbox' package=hostingpackage.id %}" class="btn btn-primary">{% trans "Add mailbox" %}</a></p>
{% endif %}
</div>
</div>