mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
bug fix: deploy wp to end user
This commit is contained in:
@@ -348,11 +348,9 @@
|
||||
<div class="sidebar-submenu">
|
||||
|
||||
<ul>
|
||||
{% if admin or createWebsite %}
|
||||
<li><a href="{% url 'createWordpress' %}"
|
||||
title="{% trans 'Deploy WordPress' %}"><span>{% trans "Deploy WordPress" %}</span></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li><a href="{% url 'ListWPSites' %}"
|
||||
title="{% trans 'List WordPress' %}"><span>{% trans "List WordPress" %}</span></a>
|
||||
</li>
|
||||
@@ -372,6 +370,8 @@
|
||||
|
||||
|
||||
<!-------------Docker Sites--------------------------->
|
||||
|
||||
{% if admin %}
|
||||
<li id="sidebar-menu-item-dockersite">
|
||||
<a href="#" title="{% trans 'Dockersite' %}">
|
||||
<div class="glyph-icon icon-globe" title="{% trans 'Docker Apps' %}"></div>
|
||||
@@ -399,6 +399,7 @@
|
||||
|
||||
</div><!-- .sidebar-submenu -->
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<li id="sidebar-menu-item-websites">
|
||||
|
||||
@@ -126,7 +126,7 @@ class WebsiteManager:
|
||||
Data = {'packageList': packagesName, "owernList": adminNames, 'WPVersions': FinalVersions,
|
||||
'Plugins': Plugins, 'Randam_String': rnpss.lower(), 'test_domain_data': test_domain_status}
|
||||
proc = httpProc(request, 'websiteFunctions/WPCreate.html',
|
||||
Data, 'createWebsite')
|
||||
Data, 'createDatabase')
|
||||
return proc.render()
|
||||
else:
|
||||
from django.shortcuts import reverse
|
||||
|
||||
Reference in New Issue
Block a user