diff --git a/components/org-repos/componentCss/repo.css b/components/org-repos/componentCss/repo.css
index 934477e..5f4fb19 100644
--- a/components/org-repos/componentCss/repo.css
+++ b/components/org-repos/componentCss/repo.css
@@ -33,6 +33,14 @@ ol.repos .repo {
margin-bottom: 10px;
}
+ol.repos .repo[data-archived="true"] {
+ opacity: 0.5;
+}
+
+ol.repos .repo[data-archived="true"] h3:after {
+ content: " (archived)";
+}
+
ol.repos .repo .members:not(.simply-empty) {
background-color: white;
padding: 10px;
diff --git a/components/org-repos/componentTemplates/org-repos.html b/components/org-repos/componentTemplates/org-repos.html
index 684e7bf..ca50679 100644
--- a/components/org-repos/componentTemplates/org-repos.html
+++ b/components/org-repos/componentTemplates/org-repos.html
@@ -1,6 +1,10 @@
- -
+
-
diff --git a/components/org-repos/componentTemplates/org-repos.json b/components/org-repos/componentTemplates/org-repos.json
index 19c0b0c..13115ee 100644
--- a/components/org-repos/componentTemplates/org-repos.json
+++ b/components/org-repos/componentTemplates/org-repos.json
@@ -21,6 +21,11 @@
{"login" : "user", "role_name": "admin"},
{"login" : "user", "role_name": "admin"}
]
+ },
+ {
+ "archived" : true,
+ "name" : "Archived Repo",
+ "teams" : [{"team" : "foo"}, {"team" : "bar"}]
}
]
}
\ No newline at end of file
diff --git a/generated.html b/generated.html
index b967850..2b34c8b 100644
--- a/generated.html
+++ b/generated.html
@@ -79,6 +79,14 @@
margin-bottom: 10px;
}
+ ol.repos .repo[data-archived="true"] {
+ opacity: 0.5;
+ }
+
+ ol.repos .repo[data-archived="true"] h3:after {
+ content: "(archived)";
+ }
+
ol.repos .repo .members:not(.simply-empty) {
background-color: white;
padding: 10px;
@@ -495,7 +503,11 @@
- -
+
-