diff --git a/BTCPayServer/Views/Server/ListPlugins.cshtml b/BTCPayServer/Views/Server/ListPlugins.cshtml index ce316909c..833d15da7 100644 --- a/BTCPayServer/Views/Server/ListPlugins.cshtml +++ b/BTCPayServer/Views/Server/ListPlugins.cshtml @@ -128,8 +128,8 @@

@plugin.Name

-
-
+
+
@plugin.Version @if (plugin.SystemPlugin) { @@ -160,7 +160,7 @@
    @foreach (var dependency in plugin.Dependencies) { -
  • +
  • @dependency @if (!DependencyMet(dependency)) { @@ -182,7 +182,7 @@
      @foreach (var dependency in matchedAvailable.Dependencies) { -
    • +
    • @dependency @if (!DependencyMet(dependency)) { @@ -242,14 +242,19 @@ @foreach (var plugin in availableAndNotInstalled) { var recommended = BTCPayServerOptions.RecommendedPlugins.Contains(plugin.Identifier.ToLowerInvariant()); + var disabled = Model.Disabled?.Contains(plugin.Identifier) ?? false;

      @plugin.Name

      -
      +
      @plugin.Version - @if (recommended) + @if (disabled) + { +
      Disabled
      + } + else if (recommended) {
      Recommended
      } @@ -261,7 +266,7 @@
        @foreach (var dependency in plugin.Dependencies) { -
      • +
      • @dependency @if (!DependencyMet(dependency)) { @@ -274,19 +279,28 @@
      @{ var pending = Model.Commands.Any(tuple => tuple.plugin.Equals(plugin.Identifier, StringComparison.InvariantCultureIgnoreCase)); + var pluginCommands = Model.Commands.GroupBy(tuple => tuple.plugin.Equals(plugin.Identifier, StringComparison.InvariantCultureIgnoreCase)); }