]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showgroup.php
add bookmarklet to main help
[quix0rs-gnu-social.git] / actions / showgroup.php
index 58cc7a97cd724b7fb92bdbf5acb73a0ecfaca79e..79445851f923b1b6f41352a546ca6b3bb0cf47f2 100644 (file)
@@ -73,11 +73,17 @@ class ShowgroupAction extends Action
 
     function title()
     {
+        if (!empty($this->group->fullname)) {
+            $base = $this->group->fullname . ' (' . $this->group->nickname . ')';
+        } else {
+            $base = $this->group->nickname;
+        }
+
         if ($this->page == 1) {
-            return sprintf(_("%s group"), $this->group->nickname);
+            return sprintf(_("%s group"), $base);
         } else {
             return sprintf(_("%s group, page %d"),
-                           $this->group->nickname,
+                           $base,
                            $this->page);
         }
     }