link from hostingpackages details to add_userdatabase
- add database URLs to gnuviechadmin.urls - add link in template hostingpackages/customerhostingpackage_detail.html - add changelog entry for new feature
This commit is contained in:
parent
0e1a84826d
commit
486c07d27d
3 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
* :feature:`-` implement setup of user databases
|
||||
* :support:`-` performance improvement for hosting package detail view
|
||||
* :support:`-` move HostingPackageAndCustomerMixin from managemails.views to
|
||||
gvawebcore.views
|
||||
|
|
|
@ -10,6 +10,7 @@ urlpatterns = patterns(
|
|||
'',
|
||||
url(r'', include('dashboard.urls')),
|
||||
url(r'^accounts/', include('allauth.urls')),
|
||||
url(r'^database/', include('userdbs.urls')),
|
||||
url(r'^domains/', include('domains.urls')),
|
||||
url(r'^hosting/', include('hostingpackages.urls')),
|
||||
url(r'^mail/', include('managemails.urls')),
|
||||
|
|
|
@ -186,7 +186,7 @@
|
|||
<p class="panel-body text-info">{% trans "There are no databases assigned to this hosting package yet." %}</p>
|
||||
{% endif %}
|
||||
{% if hostingpackage.may_add_database %}
|
||||
<p class="panel-body"><a href="#" class="btn btn-primary">{% trans "Add database" %}</a></p>
|
||||
<p class="panel-body"><a href="{% url 'add_userdatabase' package=hostingpackage.id %}" class="btn btn-primary">{% trans "Add database" %}</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue