diff options
Diffstat (limited to 'gstudio/templates/gstudio/nodes_search.html')
-rw-r--r-- | gstudio/templates/gstudio/nodes_search.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/nodes_search.html b/gstudio/templates/gstudio/nodes_search.html index 7fbc53d..87c9e16 100644 --- a/gstudio/templates/gstudio/nodes_search.html +++ b/gstudio/templates/gstudio/nodes_search.html @@ -24,9 +24,16 @@ {% 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 %} |