aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:21:44 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:21:44 +0000
commit978b3484af2a47fe5cd3df6c1b68b5749612d1f2 (patch)
tree01534d4d6ae08a11beea70890bb0743fa82cbb21
parent18d00e176826a353503f889bb8ea157e5228304b (diff)
downloadelgg-978b3484af2a47fe5cd3df6c1b68b5749612d1f2.tar.gz
elgg-978b3484af2a47fe5cd3df6c1b68b5749612d1f2.tar.bz2
Update to search results view, and small entity list style updates.
git-svn-id: http://code.elgg.org/elgg/trunk@5748 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/search/views/default/search/entity.php14
-rw-r--r--views/default/css.php3
2 files changed, 9 insertions, 8 deletions
diff --git a/mod/search/views/default/search/entity.php b/mod/search/views/default/search/entity.php
index b65bad888..538cc8a64 100644
--- a/mod/search/views/default/search/entity.php
+++ b/mod/search/views/default/search/entity.php
@@ -24,16 +24,16 @@ if (!$icon) {
// @todo allow an option to switch to displaying the entity's icon instead.
$type = $entity->getType();
if ($type == 'user' || $type == 'group') {
- $icon = elgg_view('profile/icon', array('entity' => $entity, 'size' => 'small'));
+ $icon = elgg_view('profile/icon', array('entity' => $entity, 'size' => 'tiny'));
} elseif ($owner = $entity->getOwnerEntity()) {
- $icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'small'));
+ $icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny'));
} else {
// display a generic icon if no owner, though there will probably be
// other problems if the owner can't be found.
$icon = elgg_view(
'graphics/icon', array(
'entity' => $entity,
- 'size' => 'small',
+ 'size' => 'tiny',
));
}
}
@@ -56,15 +56,15 @@ if (!$time) {
<div class="search_listing clearfloat">
<div class="search_listing_icon"><?php echo $icon; ?></div>
<div class="search_listing_info">
- <p class="item_title"><?php echo $title; ?></p>
- <p class="item_description"><?php echo $description; ?></p>
+ <p class="entity_title"><?php echo $title; ?></p>
+ <?php echo $description; ?>
<?php
if ($extra_info) {
?>
- <p class="item_extra"><?php echo $extra_info; ?></p>
+ <p class="entity_subtext"><?php echo $extra_info; ?></p>
<?php
}
?>
- <p class="item_timestamp"><?php echo $time; ?></p>
+ <p class="entity_subtext"><?php echo $time; ?></p>
</div>
</div>
diff --git a/views/default/css.php b/views/default/css.php
index 89a1d127f..07b328dd5 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -964,7 +964,7 @@ li.navigation_more ul li {
}
.entity_listing_info p {
margin:0;
- line-height:1.2em;
+ /* line-height:1.2em; */
}
.entity_title {
font-weight: bold;
@@ -979,6 +979,7 @@ li.navigation_more ul li {
color:#666666;
font-size: 85%;
font-style: italic;
+ line-height:1.2em;
}
/* entity metadata block */
.entity_metadata {