From: Radek Czajka Date: Fri, 30 Jul 2010 13:45:42 +0000 (+0200) Subject: preliminary search support X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/1896ffefd4c448d4445bb510e9ac5992a8f20361?ds=sidebyside;hp=--cc preliminary search support --- 1896ffefd4c448d4445bb510e9ac5992a8f20361 diff --git a/apps/wiki/templates/wiki/document_details.html b/apps/wiki/templates/wiki/document_details.html index 67b3c478..9657e0f6 100644 --- a/apps/wiki/templates/wiki/document_details.html +++ b/apps/wiki/templates/wiki/document_details.html @@ -22,8 +22,18 @@ {% include "wiki/tabs/source_editor.html" %} {% endblock %} +{% block tabs-right %} + {% include "wiki/tabs/gallery_view_item.html" %} + {% include "wiki/tabs/search_view_item.html" %} +{% endblock %} + {% block splitter-extra %} - {% include "wiki/tabs/gallery_view.html" %} +
+
+ {% endblock %} {% block dialogs %} diff --git a/apps/wiki/templates/wiki/document_details_base.html b/apps/wiki/templates/wiki/document_details_base.html index f86f936c..3c6843d7 100644 --- a/apps/wiki/templates/wiki/document_details_base.html +++ b/apps/wiki/templates/wiki/document_details_base.html @@ -41,9 +41,12 @@ {% trans "Save attempt in progress" %} {% endif %} -
    +
      {% block tabs-menu %} {% endblock %}
    +
      + {% block tabs-right %} {% endblock %} +
    diff --git a/apps/wiki/templates/wiki/tabs/gallery_view.html b/apps/wiki/templates/wiki/tabs/gallery_view.html index 47f6af26..7bf6584a 100644 --- a/apps/wiki/templates/wiki/tabs/gallery_view.html +++ b/apps/wiki/templates/wiki/tabs/gallery_view.html @@ -1,6 +1,4 @@ {% load i18n %} -
    -