From 77094f8d2bffa70c9e95518b9883f8752304102c Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 19 Mar 2016 16:17:19 -0700 Subject: make the admin side menu extensible and provide a hook for a channel "move" operation that federation plugins might use to re-establish connections after a channel move. --- view/tpl/admin_aside.tpl | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl index da762a094..70e1677af 100755 --- a/view/tpl/admin_aside.tpl +++ b/view/tpl/admin_aside.tpl @@ -5,7 +5,7 @@ $("nav").bind('nav-update', function(e,data){ var elm = $('#pending-update'); var register = $(data).find('register').text(); - if (register=="0") { reigster=""; elm.hide();} else { elm.show(); } + if (register=="0") { register=""; elm.hide();} else { elm.show(); } elm.html(register); }); }); @@ -13,16 +13,9 @@

{{$admtxt}}

@@ -34,11 +27,11 @@ {{/if}} -{{if $admin.plugins_admin}} +{{if $plugins}}

{{$plugadmtxt}}

@@ -48,6 +41,6 @@

{{$logtxt}}

-- cgit v1.2.3