only show the reload link if plugins are found

This commit is contained in:
Tobias Diekershoff 2016-01-15 19:35:45 +01:00
parent 7a7ffb2299
commit 629c69d9dd

View File

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