X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/03c5ba6e50339d7bc470eb6d7f051483eff1e96b..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/wiki/templates/wiki/document_details.html
diff --git a/apps/wiki/templates/wiki/document_details.html b/apps/wiki/templates/wiki/document_details.html
index 75cf617e..2211c0a3 100644
--- a/apps/wiki/templates/wiki/document_details.html
+++ b/apps/wiki/templates/wiki/document_details.html
@@ -1,136 +1,50 @@
-{% extends "base.html" %}
-{% load toolbar_tags %}
-{% block title %}{{ document.name }} - {{ block.super }}{% endblock %}
-{% block extrahead %}
-{% load compressed %}
-{% compressed_css 'detail' %}
-{% endblock %}
+{% extends "wiki/document_details_base.html" %}
+{% load i18n %}
+
{% block extrabody %}
-
-
-{% compressed_js 'detail' %}
+
{% endblock %}
-{% block maincontent %}
-
-
-
-
- Åadowanie
-
-
-
-
-{% for k, v in document.meta.items %}
- {{ v }}
-{% endfor %}
-
+{% block tabs-menu %}
+ {% include "wiki/tabs/summary_view_item.html" %}
+ {% include "wiki/tabs/wysiwyg_editor_item.html" %}
+ {% include "wiki/tabs/source_editor_item.html" %}
+ {% include "wiki/tabs/history_view_item.html" %}
+{% endblock %}
-
-
-
-
- {% toolbar %}
-
-
-
-
- {% include "wiki/history_panel.html" %}
+{% block tabs-content %}
+ {% include "wiki/tabs/summary_view.html" %}
+ {% include "wiki/tabs/wysiwyg_editor.html" %}
+ {% include "wiki/tabs/source_editor.html" %}
+ {% include "wiki/tabs/history_view.html" %}
+{% endblock %}
+
+{% block tabs-right %}
+ {% include "wiki/tabs/gallery_view_item.html" %}
+ {% include "wiki/tabs/annotations_view_item.html" %}
+ {% include "wiki/tabs/search_view_item.html" %}
+{% endblock %}
+
+{% block splitter-extra %}
+
-
-
-
-
-
-
-
-
-{% endblock %}
\ No newline at end of file
+
+{% endblock %}
+
+{% block dialogs %}
+ {% include "wiki/save_dialog.html" %}
+ {% include "wiki/revert_dialog.html" %}
+ {% include "wiki/tag_dialog.html" %}
+ {% if can_pubmark %}
+ {% include "wiki/pubmark_dialog.html" %}
+ {% endif %}
+{% endblock %}