+
+
+ getId()}"{/if}>
+
+
+
+
+
{tr($locale_string, $count)}.
+
+
+
+
+
+ {if $count > 0}
+ {foreach $docs as $doc}
+ {if $is_gallery}
+ {include "components/image.xml", doc => $doc, scroll_context => true, club => isset($group) ? $group : NULL}
+ {else}
+ {include "components/doc.xml", doc => $doc, scroll_context => true, club => isset($group) ? $group : NULL}
+ {/if}
+ {/foreach}
+ {else}
+ {include "../components/error.xml", description => tr("there_is_no_documents_alright")}
+ {/if}
+
+
+
+
+
{_documents_all}
+ {foreach $tags as $tag}
+
{$tag}
+ {/foreach}
+
+
+
+ {include "../components/paginator.xml", conf => $paginatorConf}
+
+
+{/block}
diff --git a/Web/Presenters/templates/Documents/Page.xml b/Web/Presenters/templates/Documents/Page.xml
new file mode 100644
index 00000000..b6640185
--- /dev/null
+++ b/Web/Presenters/templates/Documents/Page.xml
@@ -0,0 +1,74 @@
+{extends "../@layout.xml"}
+
+{block title}
+ {_document} "{ovk_proc_strtr($doc->getName(), 20)}"
+{/block}
+
+{block header}
+ {$doc->getName()}
+{/block}
+
+{block content}
+
+
+
+ {include "../Documents/components/doc.xml", doc => $dat, copyImportance => true}
+
+
+
{/if}
@@ -300,6 +312,7 @@