From e1d3d2c61566a7a8422e5b2b416527cf284e7b08 Mon Sep 17 00:00:00 2001 From: pete Date: Fri, 8 Aug 2008 09:31:08 +0000 Subject: latest discussions widget git-svn-id: https://code.elgg.org/elgg/trunk@1786 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/groups/css.php | 34 ++++++++++++++++++++---- mod/groups/views/default/groups/forum_latest.php | 13 +++++---- 2 files changed, 37 insertions(+), 10 deletions(-) (limited to 'mod/groups/views') diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index 8b1628395..8a88ef393 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -58,10 +58,6 @@ border:none; } - - - - .topic_title { font-size: 1.2em; line-height: 1.1em; @@ -82,4 +78,32 @@ .forum_topics .even { background-color:#f5f5f5; padding: 4px; -} \ No newline at end of file +} + + +/* latest discussions on group page */ +#latest_discussion_widget { + margin:0 0 20px 0; +} +.forum_latest { + margin:0 0 10px 0; +} +.forum_latest .topic_owner_icon { + position:absolute; +} +.forum_latest .topic_title { + margin-left:35px; +} +.forum_latest .topic_title p { + font-size: 0.8em; + line-height: 1.0em; + padding:0; + margin:0; +} + +.forum_latest p.topic_replies { + color:#999999; + padding:3px 0 0 0; + margin:0; +} + diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php index 10392fa51..be9ad926a 100644 --- a/mod/groups/views/default/groups/forum_latest.php +++ b/mod/groups/views/default/groups/forum_latest.php @@ -1,6 +1,7 @@ +

guid, 4, 0, "asc", false); if($forum){ @@ -9,8 +10,9 @@ $count_annotations = $f->countAnnotations("group_topic_post"); echo "
"; - echo ""; - echo "
" . elgg_view('profile/icon',array('entity' => $f->getOwnerEntity(), 'size' => 'tiny')) . "
"; + echo "
" . elgg_view('profile/icon',array('entity' => $f->getOwnerEntity(), 'size' => 'tiny')) . "
"; + echo ""; + echo "
"; } @@ -18,5 +20,6 @@ echo elgg_echo("grouptopic:notcreated"); } - -?> \ No newline at end of file +?> +
+
\ No newline at end of file -- cgit v1.2.3