@@ -80,6 +80,11 @@ <h4>Links</h4>
80
80
else link['description'] if link['description'] not in [None, 'None', '']
81
81
else link['scheme'] if link['scheme'] not in [None, 'None', '']
82
82
else gettext('Access Link') }}
83
+ {% if link['scheme'] not in [None, 'None', '']
84
+ and ( link['name'] not in [None, 'None', '']
85
+ or link['description'] not in [None, 'None', ''] ) %}
86
+ ({{ link['scheme'] }})
87
+ {% endif %}
83
88
</ a > </ li >
84
89
{% endfor %}
85
90
{% for link in obj.uris %}
@@ -88,6 +93,11 @@ <h4>Links</h4>
88
93
else link['description'] if link['description'] not in [None, 'None', '']
89
94
else link['protocol'] if link['protocol'] not in [None, 'None', '']
90
95
else gettext('Access Link') }}
96
+ {% if link['protocol'] not in [None, 'None', '']
97
+ and ( link['name'] not in [None, 'None', '']
98
+ or link['description'] not in [None, 'None', ''] ) %}
99
+ ({{ link['protocol'] }})
100
+ {% endif %}
91
101
</ a > </ li >
92
102
{% endfor %}
93
103
</ ul >
0 commit comments