diff --git a/otterdog/webapp/templates/home/organization.html b/otterdog/webapp/templates/home/organization.html index 93e6c590..a82bc9c6 100644 --- a/otterdog/webapp/templates/home/organization.html +++ b/otterdog/webapp/templates/home/organization.html @@ -138,7 +138,7 @@

General

-
+

Secret Scanning

@@ -148,7 +148,7 @@

Secret Scanning

-
+

Branch Protections

@@ -300,11 +300,16 @@

Branch Protections

{% for repo in config.repositories|sort(attribute='name') %} + {% if repo.archived == true %} + + {% endif %} {{ repo.name }} - {% if repo.branch_protection_rules|length > 0 or repo.rulesets|length > 0 %} + {% if repo.archived == true %} + + {% elif repo.branch_protection_rules|length > 0 or repo.rulesets|length > 0 %} {% else %} @@ -340,7 +345,9 @@

Branch Protections

{% endif %} - {% if repo.secret_scanning_push_protection == "enabled" %} + {% if repo.archived == true %} + + {% elif repo.secret_scanning_push_protection == "enabled" %} {% elif repo.secret_scanning == "enabled" %}