diff --git a/manifest.xml b/manifest.xml
index c4d1ad00..95dda333 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -61,6 +61,9 @@ ToDo
====================
Version History
====================
+x.x:
+ - changed: group status (open/closed) CSS
+
1.8 (2011-11-11):
- added: activity filter in group river widget
- added: group listing filter: open and closed
diff --git a/views/default/group_tools/css.php b/views/default/group_tools/css.php
index 0c13b324..ac5f4a42 100644
--- a/views/default/group_tools/css.php
+++ b/views/default/group_tools/css.php
@@ -87,4 +87,14 @@
#group_tools_group_status {
font-weight: normal;
+}
+
+#group_tools_group_status.group_status_open,
+#group_stats .group_status_open {
+ color: green;
+}
+
+#group_tools_group_status.group_status_closed,
+#group_stats .group_status_closed {
+ color: orange;
}
\ No newline at end of file
diff --git a/views/default/group_tools/group_stats.php b/views/default/group_tools/group_stats.php
index fe54156d..e4fbfd9f 100644
--- a/views/default/group_tools/group_stats.php
+++ b/views/default/group_tools/group_stats.php
@@ -3,15 +3,17 @@
if(($group = page_owner_entity()) && ($group instanceof ElggGroup)){
if($group->membership == ACCESS_PUBLIC){
$status = elgg_echo("groups:open");
+ $class = "group_status_open";
} else {
$status = elgg_echo("groups:closed");
+ $class = "group_status_closed";
}
$status = ucfirst($status);
?>
membership == ACCESS_PUBLIC){
$status = elgg_echo("groups:open");
+ $class = "group_status_open";
} else {
$status = elgg_echo("groups:closed");
+ $class = "group_status_closed";
}
$status = ucfirst($status);
?>