Browse Source

only show the reload link if plugins are found

pull/2255/head
Tobias Diekershoff 6 years ago
parent
commit
629c69d9dd
  1. 4
      view/templates/admin_plugins.tpl

4
view/templates/admin_plugins.tpl

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

Loading…
Cancel
Save