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'>
<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}}'>