diff --git a/Changelog.md b/Changelog.md index 5b8a54165..4e055e849 100644 --- a/Changelog.md +++ b/Changelog.md @@ -43,6 +43,7 @@ We use yarn to install the frontend dependencies now, so you need to have that i * Allow podmins/moderators to see all local public posts to improve moderation [#8232](https://github.com/diaspora/diaspora/pull/8232) [#8320](https://github.com/diaspora/diaspora/pull/8320) * Add support for directly paste images to upload them [#8237](https://github.com/diaspora/diaspora/pull/8237) * Add support for webp images and convert new png/jpg to webp to save space and bandwidth [#8358](https://github.com/diaspora/diaspora/pull/8358) +* Show total and active pods count in the pods list for podmins [#8383](https://github.com/diaspora/diaspora/pull/8383) # 0.7.18.0 diff --git a/app/assets/javascripts/app/pages/admin_pods.js b/app/assets/javascripts/app/pages/admin_pods.js index 27fb1979e..8c0ae6d39 100644 --- a/app/assets/javascripts/app/pages/admin_pods.js +++ b/app/assets/javascripts/app/pages/admin_pods.js @@ -29,6 +29,25 @@ app.pages.AdminPods = app.views.Base.extend({ _showMessages: function() { var msgs = document.createDocumentFragment(); + if (gon.totalCount && gon.totalCount > 0) { + let totalPods = $("