refactor: show service instead of services
This commit is contained in:
parent
82ddef58c0
commit
25702a1c55
@ -10,9 +10,17 @@
|
||||
'Agriculture': '/agriculture',
|
||||
'Hospitality': ''
|
||||
} %}
|
||||
|
||||
{% set link = '' %}
|
||||
{% set label = domains[0].domain %}
|
||||
{% if domains %}
|
||||
{% set link = links[domains[0].domain] %}
|
||||
{% set link = links[label] %}
|
||||
{% endif %}
|
||||
|
||||
<a href="https://erpnext.com{{ link }}?source=website_footer" target="_blank" class="text-muted">Powered by ERPNext - {{ '' if domains else 'Open Source' }} ERP Software {{ ('for ' + domains[0].domain + ' Companies') if domains else '' }}</a>
|
||||
{% if label == "Services" %}
|
||||
{% set label = "Service" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
<a href="https://erpnext.com{{ link }}?source=website_footer" target="_blank" class="text-muted">Powered by ERPNext - {{ '' if domains else 'Open Source' }} ERP Software {{ ('for ' + label + ' Companies') if domains else '' }}</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user