aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-28 11:04:02 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-28 11:04:02 +0000
commitf1b781b402fe8b0d4ce6044c97bb687fd017111e (patch)
treec51051ae674b10e4e5f57ed5d8efd7a28a36a820 /mod/groups
parent1dd4a65a532bd25e51b2be4df9d811c2ce8a2f40 (diff)
downloadelgg-f1b781b402fe8b0d4ce6044c97bb687fd017111e.tar.gz
elgg-f1b781b402fe8b0d4ce6044c97bb687fd017111e.tar.bz2
Updated the layout of a topic post within group discussions
git-svn-id: http://code.elgg.org/elgg/trunk@6575 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/views/default/forum/maintopic.php10
-rw-r--r--mod/groups/views/default/groups/css.php5
2 files changed, 11 insertions, 4 deletions
diff --git a/mod/groups/views/default/forum/maintopic.php b/mod/groups/views/default/forum/maintopic.php
index 7f8bb0b0b..ecb7286e8 100644
--- a/mod/groups/views/default/forum/maintopic.php
+++ b/mod/groups/views/default/forum/maintopic.php
@@ -39,7 +39,7 @@
}
- echo "<p class='entity_title'>" . $post_owner->name . "</p>";
+ echo "<p class='entity_title'><a href='".$post_owner->getURL()."'>" . $post_owner->name . "</a></p>";
} else {
echo "<div class='entity_listing_icon'><img src=\"" . elgg_view('icon/user/default/tiny') . "\" /></div>";
echo "<div class='entity_listing_info'><p class='entity_title'>" . elgg_echo('profile:deleteduser') . "</p>";
@@ -47,11 +47,13 @@
//display the date of the comment
echo "<p class='entity_subtext'>" . friendly_time($vars['entity']->time_created) . "</p>";
+ echo "</div>"; // close entity_listing_info
+ echo "</div>"; // close entity_listing.topic
//display the actual message posted
- echo "<div class='topic_post'>";
+ echo "<div class='topic_post maintopic'>";
echo parse_urls(elgg_view("output/longtext",array("value" => $vars['entity']->description)));
- echo "</div></div>"; // close entity_listing_info
+ echo "</div>";
?>
-</div> \ No newline at end of file
+<!-- </div> --> \ No newline at end of file
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php
index 14e3c0830..da386e311 100644
--- a/mod/groups/views/default/groups/css.php
+++ b/mod/groups/views/default/groups/css.php
@@ -24,6 +24,11 @@
text-align: right;
margin-left: 10px;
}
+.topic_post.maintopic {
+ margin:10px 0 0 0;
+ padding-bottom:40px;
+ border-bottom:1px solid #CCCCCC;
+}
.entity_listing.topic .topic_post p {
margin:10px 0 5px 0;
}