]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated the layout of a topic post within group discussions
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 28 Jun 2010 11:04:02 +0000 (11:04 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 28 Jun 2010 11:04:02 +0000 (11:04 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6575 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/groups/views/default/forum/maintopic.php
mod/groups/views/default/groups/css.php

index 7f8bb0b0b0428464314559983c9ee426e43194e1..ecb7286e85c78861c962284c1a644905b3d5547e 100644 (file)
@@ -39,7 +39,7 @@
 \r
                }           \r
            \r
-           echo "<p class='entity_title'>" . $post_owner->name . "</p>";\r
+           echo "<p class='entity_title'><a href='".$post_owner->getURL()."'>" . $post_owner->name . "</a></p>";\r
        } else {\r
                echo "<div class='entity_listing_icon'><img src=\"" . elgg_view('icon/user/default/tiny') . "\" /></div>";\r
                echo "<div class='entity_listing_info'><p class='entity_title'>" . elgg_echo('profile:deleteduser') . "</p>";\r
        \r
        //display the date of the comment\r
        echo "<p class='entity_subtext'>" . friendly_time($vars['entity']->time_created) . "</p>";\r
+       echo "</div>"; // close entity_listing_info\r
+       echo "</div>"; // close entity_listing.topic\r
 \r
        //display the actual message posted\r
-       echo "<div class='topic_post'>";\r
+       echo "<div class='topic_post maintopic'>";\r
        echo parse_urls(elgg_view("output/longtext",array("value" => $vars['entity']->description)));\r
-       echo "</div></div>"; // close entity_listing_info\r
+       echo "</div>";\r
 ?>\r
                \r
-</div>
\ No newline at end of file
+<!-- </div> -->
\ No newline at end of file
index 14e3c0830ba22f0be81858c505f88f1431d36424..da386e31105a2fc13186ab77f1a48f53b79a5bc3 100644 (file)
        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;
 }