mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-27 09:23:47 +00:00
Fix Service usage in machine templates.
This commit is contained in:
parent
61b169808b
commit
e2b4269c6b
2 changed files with 4 additions and 4 deletions
|
@ -62,7 +62,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
Gestion des nas
|
Gestion des nas
|
||||||
</a>
|
</a>
|
||||||
{% acl_end %}
|
{% acl_end %}
|
||||||
{% can_view_all Service %}
|
{% can_view_all machines.Service %}
|
||||||
<a class="list-group-item list-group-item-info" href="{% url "machines:index-service" %}">
|
<a class="list-group-item list-group-item-info" href="{% url "machines:index-service" %}">
|
||||||
<i class="glyphicon glyphicon-list"></i>
|
<i class="glyphicon glyphicon-list"></i>
|
||||||
Services (dhcp, dns...)
|
Services (dhcp, dns...)
|
||||||
|
|
|
@ -106,7 +106,7 @@ MODEL_NAME = {
|
||||||
'Interface' : machines.models.Interface,
|
'Interface' : machines.models.Interface,
|
||||||
'Domain' : machines.models.Domain,
|
'Domain' : machines.models.Domain,
|
||||||
'IpList' : machines.models.IpList,
|
'IpList' : machines.models.IpList,
|
||||||
'Service' : machines.models.Service,
|
'machines.Service' : machines.models.Service,
|
||||||
'Service_link' : machines.models.Service_link,
|
'Service_link' : machines.models.Service_link,
|
||||||
'OuverturePortList' : machines.models.OuverturePortList,
|
'OuverturePortList' : machines.models.OuverturePortList,
|
||||||
'OuverturePort' : machines.models.OuverturePort,
|
'OuverturePort' : machines.models.OuverturePort,
|
||||||
|
@ -115,7 +115,7 @@ MODEL_NAME = {
|
||||||
'OptionalMachine': preferences.models.OptionalMachine,
|
'OptionalMachine': preferences.models.OptionalMachine,
|
||||||
'OptionalTopologie': preferences.models.OptionalTopologie,
|
'OptionalTopologie': preferences.models.OptionalTopologie,
|
||||||
'GeneralOption': preferences.models.GeneralOption,
|
'GeneralOption': preferences.models.GeneralOption,
|
||||||
'Service': preferences.models.Service,
|
'preferences.Service': preferences.models.Service,
|
||||||
'AssoOption': preferences.models.AssoOption,
|
'AssoOption': preferences.models.AssoOption,
|
||||||
'MailMessageOption': preferences.models.MailMessageOption,
|
'MailMessageOption': preferences.models.MailMessageOption,
|
||||||
# topologie
|
# topologie
|
||||||
|
|
Loading…
Reference in a new issue