aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}