]> git.mxchange.org Git - friendica.git/commitdiff
Display correct total blocked contact count in accordion header
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 5 Jul 2019 17:42:22 +0000 (13:42 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 5 Jul 2019 17:42:22 +0000 (13:42 -0400)
view/theme/frio/templates/admin/blocklist/contact.tpl

index 1f43b412b786c613bdabea15cf880c136f262252..59f02dba56ebb34c5385990f0adf38493fee9ad0 100644 (file)
@@ -37,7 +37,7 @@
                        <div class="section-subtitle-wrapper" role="tab" id="admin-settings-contactblock-blocked">
                                <h4>
                                        <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-contactblock-blocked-collapse" aria-expanded="{{if count($contacts) > 0}}true{{else}}false{{/if}}" aria-controls="admin-settings-contactblock-blocked-collapse">
-                                               {{$h_contacts}} ({{count($contacts)}})
+                                               {{$h_contacts}} ({{$total_contacts}})
                                        </a>
                                </h4>
                        </div>