mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Add additionally scheme / protocol where appropriate
This commit is contained in:
parent
7a8e20d572
commit
c2660e273a
@ -80,6 +80,11 @@
|
||||
else link['description'] if link['description'] not in [None, 'None', '']
|
||||
else link['scheme'] if link['scheme'] not in [None, 'None', '']
|
||||
else gettext('Access Link') }}
|
||||
{% if link['scheme'] not in [None, 'None', '']
|
||||
and ( link['name'] not in [None, 'None', '']
|
||||
or link['description'] not in [None, 'None', ''] ) %}
|
||||
({{ link['scheme'] }})
|
||||
{% endif %}
|
||||
</a></li>
|
||||
{% endfor %}
|
||||
{% for link in obj.uris %}
|
||||
@ -88,6 +93,11 @@
|
||||
else link['description'] if link['description'] not in [None, 'None', '']
|
||||
else link['protocol'] if link['protocol'] not in [None, 'None', '']
|
||||
else gettext('Access Link') }}
|
||||
{% if link['protocol'] not in [None, 'None', '']
|
||||
and ( link['name'] not in [None, 'None', '']
|
||||
or link['description'] not in [None, 'None', ''] ) %}
|
||||
({{ link['protocol'] }})
|
||||
{% endif %}
|
||||
</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user