diff options
Diffstat (limited to 'gstudio/templates/gstudio/nodetype_search.html')
-rw-r--r-- | gstudio/templates/gstudio/nodetype_search.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/nodetype_search.html b/gstudio/templates/gstudio/nodetype_search.html index 7fbc53db..08d2d4b3 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 %} |