summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/nodetype_search.html
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/templates/gstudio/nodetype_search.html')
-rw-r--r--gstudio/templates/gstudio/nodetype_search.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/nodetype_search.html b/gstudio/templates/gstudio/nodetype_search.html
index 7fbc53d..08d2d4b 100644
--- a/gstudio/templates/gstudio/nodetype_search.html
+++ b/gstudio/templates/gstudio/nodetype_search.html
@@ -24,9 +24,18 @@
{% endif %}
{% for object in object_list %}
+ {% ifequal object.title|truncatewords:"3" 'page box of ...' %}
+
+ {% else %}
+ {% ifequal object.title|truncatewords:"3" 'message box of ...' %}
+ {% else %}
+
{% with object.html_content|truncatewords_html:100|safe as object_content %}
{% include "gstudio/_nodetype_detail.html" %}
{% endwith %}
+{% endifequal %}
+{% endifequal %}
+
{% empty %}
<p class="notice">{% trans "Nothing found." %}</p>
{% endfor %}