aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/admin_summary.tpl
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@users.noreply.github.com>2015-03-08 16:51:42 -0700
committerhabeascodice <habeascodice@users.noreply.github.com>2015-03-08 16:51:42 -0700
commitf7d1fb9c5a9f34b27f362b34782671cedb048649 (patch)
tree8058603591120745fc957f1b6149f0d70553199b /view/tpl/admin_summary.tpl
parentb0f8d7f0db4fff8b6853c923189cb33f8ce5b645 (diff)
parentc6d45858bb73c0f3765fcc7257ed1347d6de1577 (diff)
downloadvolse-hubzilla-f7d1fb9c5a9f34b27f362b34782671cedb048649.tar.gz
volse-hubzilla-f7d1fb9c5a9f34b27f362b34782671cedb048649.tar.bz2
volse-hubzilla-f7d1fb9c5a9f34b27f362b34782671cedb048649.zip
Merge pull request #920 from dawnbreak/master
Add alert to admin page about old PHP version. Fixing (un)blocking accounts in admin.
Diffstat (limited to 'view/tpl/admin_summary.tpl')
-rwxr-xr-xview/tpl/admin_summary.tpl24
1 files changed, 10 insertions, 14 deletions
diff --git a/view/tpl/admin_summary.tpl b/view/tpl/admin_summary.tpl
index 7f752a773..259640849 100755
--- a/view/tpl/admin_summary.tpl
+++ b/view/tpl/admin_summary.tpl
@@ -1,36 +1,32 @@
<div class="generic-content-wrapper-styled" id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
-
+{{if $adminalertmsg}}
+ <p class="alert alert-warning" role="alert">{{$adminalertmsg}}</p>
+{{/if}}
<dl>
<dt>{{$queues.label}}</dt>
<dd>{{$queues.queue}}</dd>
</dl>
<dl>
+ <dt>{{$accounts.0}}</dt>
+ <dd>{{foreach from=$accounts.1 item=acc name=account}}<span title="{{$acc.label}}">{{$acc.val}}</span>{{if !$smarty.foreach.account.last}} / {{/if}}{{/foreach}}</dd>
+ </dl>
+ <dl>
<dt>{{$pending.0}}</dt>
<dd>{{$pending.1}}</dt>
</dl>
-
<dl>
- <dt>{{$users.0}}</dt>
- <dd>{{$users.1}}</dd>
+ <dt>{{$channels.0}}</dt>
+ <dd>{{foreach from=$channels.1 item=ch name=chan}}<span title="{{$ch.label}}">{{$ch.val}}</span>{{if !$smarty.foreach.chan.last}} / {{/if}}{{/foreach}}</dd>
</dl>
- <!-- $accounts is empty
- {{foreach $accounts as $p}}
- <dl>
- <dt>{{$p.0}}</dt>
- <dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd>
- </dl>
- {{/foreach}} -->
<dl>
<dt>{{$plugins.0}}</dt>
<dd>
{{foreach $plugins.1 as $p}} {{$p}} {{/foreach}}
- &nbsp;
</dd>
</dl>
<dl>
<dt>{{$version.0}}</dt>
<dd>{{$version.1}} - {{$build}}</dd>
</dl>
-
-</div>
+</div> \ No newline at end of file