]> git.mxchange.org Git - friendica.git/commitdiff
only show the reload link if plugins are found
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 15 Jan 2016 18:35:45 +0000 (19:35 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 15 Jan 2016 18:35:45 +0000 (19:35 +0100)
view/templates/admin_plugins.tpl

index fb1f26a90c9678eac05bc488915504e255bb36dd..75565dd2edc71797e00a3eb08edaf3ea35b3d917 100644 (file)
@@ -1,12 +1,12 @@
 
 <div id='adminpage'>
        <h1>{{$title}} - {{$page}}</h1>
-               <a class="btn" href="{{$baseurl}}/admin/{{$function}}?a=r&amp;t={{$form_security_token}}">{{$reload}}</a>
                {{if $pcount eq 0}}
-                   <div class="XXX">
+                   <div class="error-message">
                    {{$noplugshint}}
                    </div>
                {{else}}
+               <a class="btn" href="{{$baseurl}}/admin/{{$function}}?a=r&amp;t={{$form_security_token}}">{{$reload}}</a>
                <ul id='pluginslist'>
                {{foreach $plugins as $p}}
                        <li class='plugin {{$p.1}}'>