aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-22 11:46:28 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-22 11:46:28 +0000
commit96630c2f66d99e954ccc3d158e67b3a1e1fd539d (patch)
tree5f8a66b4a61b77101af7c68fe8b8f13e414ae136 /mod/groups/views/default
parentcb101e4ce2fb3e6283f48c92dbdd974e2e123e49 (diff)
downloadelgg-96630c2f66d99e954ccc3d158e67b3a1e1fd539d.tar.gz
elgg-96630c2f66d99e954ccc3d158e67b3a1e1fd539d.tar.bz2
Added a 'view all' link to group tools widgets.
git-svn-id: http://code.elgg.org/elgg/trunk@6537 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/groups/activity_latest.php2
-rw-r--r--mod/groups/views/default/groups/css.php5
-rw-r--r--mod/groups/views/default/groups/forum_latest.php1
3 files changed, 7 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/activity_latest.php b/mod/groups/views/default/groups/activity_latest.php
index c7cd48c3f..d4f1877d0 100644
--- a/mod/groups/views/default/groups/activity_latest.php
+++ b/mod/groups/views/default/groups/activity_latest.php
@@ -9,7 +9,7 @@
* @link http://elgg.org/
*/
?>
-
+<span class="group_widget_link"><a href="<?php echo $vars['url'] . "pg/groups/activity/" . page_owner(); ?>"><?php echo elgg_echo('link:view:all')?></a></span>
<h3><?php echo elgg_echo("activity"); ?></h3>
<?php
$owner = page_owner_entity();
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php
index a9e412791..14e3c0830 100644
--- a/mod/groups/views/default/groups/css.php
+++ b/mod/groups/views/default/groups/css.php
@@ -142,6 +142,11 @@
.group_tool_widget .entity_listing_info {
width:315px;
}
+.group_widget_link {
+ float:right;
+ margin:4px 6px 0 0;
+ font-size: 85%;
+}
/* edit group page */
.delete_group {
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php
index 865b04ca2..161455703 100644
--- a/mod/groups/views/default/groups/forum_latest.php
+++ b/mod/groups/views/default/groups/forum_latest.php
@@ -5,6 +5,7 @@
//check to make sure this group forum has been activated
if($vars['entity']->forum_enable != 'no'){
?>
+<span class="group_widget_link"><a href="<?php echo $vars['url'] . "pg/groups/forum/" . page_owner(); ?>"><?php echo elgg_echo('link:view:all')?></a></span>
<h3><?php echo elgg_echo('groups:latestdiscussion'); ?></h3>
<?php