Fix database manager link.
This commit is contained in:
parent
c2a262ff17
commit
9fd2d6eb17
|
@ -184,6 +184,10 @@ class DatabaseService(OrchestraModel):
|
|||
|
||||
return details
|
||||
|
||||
@property
|
||||
def manager_url(self):
|
||||
return musician_settings.URL_DB_PHPMYADMIN
|
||||
|
||||
|
||||
class Domain(OrchestraModel):
|
||||
api_name = 'domain'
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
<div class="col-md-5 text-right">
|
||||
<div class="service-manager-link">
|
||||
<a class="btn btn-primary" href="#open-phpmyadmin">{% trans "Open database manager" %} <i class="fas fa-external-link-alt"></i></a>
|
||||
<a class="btn btn-primary" href="{{ database.manager_url }}" target="_blank" rel="noopener noreferrer">{% trans "Open database manager" %} <i class="fas fa-external-link-alt"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue