flatpress/admin/panels/entry/admin.entry.stats.tpl
azett af1aa7759b Revert "Merge branch 'master' of https://github.com/flatpressblog/flatpress"
This reverts commit e9ad11742876f9f78d743a28afd547ee7480c7f9, reversing
changes made to f30fc6204a6bc7643d7952b1df98a3aa7b462dea.
2022-07-02 13:30:56 +02:00

32 lines
842 B
Smarty

<h2>{"Statistics"}</h2>
{include file='shared:errorlist.tpl'}
<h3>{"Entries"}</h3>
{"<p>You have <strong>%s</strong>
entries using <strong>%s</strong> characters
in <strong>%s</strong> words.</p>
<p>Total disk space is
<strong>%s</strong>.</p>"|sprintf:$entries.count:$entries.chars:$entries.words:$entries.size}
<h3>{"Comments"}</h3>
{"<p>You have <strong>%s</strong>
comments using <strong>%s</strong> characters
in <strong>%s</strong> words.</p>
<p>Total disk space is
<strong>%s</strong>.</p>"|sprintf:$comments.count:$comments.chars:$comments.words:$comments.size}
{if $entries.topten}
<h3> {$entries.topten|@count} {"most commented entries"} </h3>
<ol>
{foreach from=$entries.topten key=id item=this_entry}
<li><a href="{$id|link:post_link}">{$this_entry.subject}</a> ({$this_entry.comments})</li>
{/foreach}
</ol>
{/if}