We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5305458 commit 68cb7afCopy full SHA for 68cb7af
readthedocs/templates/search/elastic_search.html
@@ -187,6 +187,8 @@ <h3>
187
{% if inner_hit.type == 'domains' %}
188
<p>
189
<a href="{% doc_url result.project|get_project result.version inner_hit.source.doc_name %}#{{ inner_hit.source.anchor }}">
190
+
191
+ {% comment %} ">= 2" because some display_name are just "-" {% endcomment %}
192
{% if inner_hit.source.display_name|length >= 2 %}
193
({{ inner_hit.source.role_name }}) {{ inner_hit.source.display_name}}
194
{% else %}
0 commit comments