aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-27 01:23:51 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-27 01:23:51 +0000
commitf61076fec0c1cfdee089f89c10cb46b7d195f9c7 (patch)
tree51015ea8d0e7fb7490db98f45de9ac141d6f4410
parentb8c6990c8ff00e8868f8f6096a9d2ef44271a548 (diff)
downloadelgg-f61076fec0c1cfdee089f89c10cb46b7d195f9c7.tar.gz
elgg-f61076fec0c1cfdee089f89c10cb46b7d195f9c7.tar.bz2
pushing categories to the next line when viewing an entity
git-svn-id: http://code.elgg.org/elgg/trunk@8506 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/blog/views/default/object/blog.php3
-rw-r--r--mod/categories/views/default/output/categories.php2
-rw-r--r--views/default/css/elements/icons.php3
-rw-r--r--views/default/page/components/list/body.php2
4 files changed, 7 insertions, 3 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index a70176dc7..a24d8758e 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -55,7 +55,8 @@ $metadata = elgg_view('navigation/menu/metadata', array(
'links' => $extra_links,
));
-$subtitle = "$author_text $date $categories $comments_link";
+$subtitle = "<p>$author_text $date $comments_link</p>";
+$subtitle .= $categories;
// do not show the metadata and controls in widget view
if (elgg_in_context('widgets')) {
diff --git a/mod/categories/views/default/output/categories.php b/mod/categories/views/default/output/categories.php
index 724c46037..38df83716 100644
--- a/mod/categories/views/default/output/categories.php
+++ b/mod/categories/views/default/output/categories.php
@@ -24,4 +24,4 @@ if (isset($vars['entity']) && $vars['entity'] instanceof ElggEntity) {
}
-echo $linkstr;
+echo '<p class="elgg-output-categories">' . elgg_echo('categories') . ": $linkstr</p>";
diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php
index 8ac0cb969..68a38ed9a 100644
--- a/views/default/css/elements/icons.php
+++ b/views/default/css/elements/icons.php
@@ -57,6 +57,9 @@
.elgg-icon-arrow-s:hover {
background-position: -146px -76px;
}
+.elgg-icon-tag {
+ background-position: 2px -197px;
+}
.elgg-icon-following {
background-position: -35px -100px;
width: 22px;
diff --git a/views/default/page/components/list/body.php b/views/default/page/components/list/body.php
index f3042578d..578e9b9cf 100644
--- a/views/default/page/components/list/body.php
+++ b/views/default/page/components/list/body.php
@@ -46,7 +46,7 @@ if ($metadata) {
echo $metadata;
}
echo "<h3>$title_link</h3>";
-echo "<p class=\"elgg-subtext\">$subtitle</p>";
+echo "<div class=\"elgg-subtext\">$subtitle</div>";
echo $tags;
if ($content) {
echo "<div class=\"elgg-list-content\">$content</div>";