diff options
author | gnowgi <nagarjun@gnowledge.org> | 2012-09-26 08:46:47 -0700 |
---|---|---|
committer | gnowgi <nagarjun@gnowledge.org> | 2012-09-26 08:46:47 -0700 |
commit | 3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36 (patch) | |
tree | 8d77de86b443495d67360dcd40786f2b8208d334 /gstudio/templates/gstudio/nodes_search.html | |
parent | cad11e2f7ed848cdfd7779451bb0f4f931e062c3 (diff) | |
parent | 94535d4adc3a4960795d22e3b229a8375de10b74 (diff) | |
download | gnowsys-3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36.tar.gz |
Merge pull request #85 from supriyasawant/master
All modules, wiki, loom, image, document and video libraries integrated.
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 7fbc53db..87c9e160 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 %} |