Author: sevein
Date: Tue Oct  4 17:20:43 2011
New Revision: 9918

Log:
Cosmetic changes

Modified:
   trunk/apps/qubit/modules/search/templates/indexSuccess.php

Modified: trunk/apps/qubit/modules/search/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/indexSuccess.php  Tue Oct  4 
17:13:43 2011        (r9917)
+++ trunk/apps/qubit/modules/search/templates/indexSuccess.php  Tue Oct  4 
17:20:43 2011        (r9918)
@@ -31,14 +31,14 @@
 
         <h2><?php echo link_to($doc->title, array('slug' => $doc->slug, 
'module' => 'informationobject')) ?><?php if 
(QubitTerm::PUBLICATION_STATUS_DRAFT_ID == $doc->publicationStatusId): ?> <span 
class="publicationStatus">draft</span><?php endif; ?></h2>
 
-        <?php if (isset($doc->scopeAndContent)): ?>
+        <?php if ($doc->scopeAndContent): ?>
           <div>
             <?php echo highlight_text(truncate_text($doc->scopeAndContent, 
256), $sf_request->query) ?>
           </div>
         <?php endif; ?>
 
         <?php if ($doc->referenceCode): ?>
-            <?php echo render_show(__('Reference code'), 
render_value($doc->referenceCode)); ?>
+          <?php echo render_show(__('Reference code'), 
render_value($doc->referenceCode)); ?>
         <?php endif; ?>
 
         <div class="field">
@@ -59,13 +59,13 @@
             </ul>
           </div>
         </div>
-        
+
         <?php if ($doc->levelOfDescription): ?>
-            <?php echo render_show(__('Level of description'), 
render_value($doc->levelOfDescription)) ?>
+          <?php echo render_show(__('Level of description'), 
render_value($doc->levelOfDescription)) ?>
         <?php endif; ?>
 
         <?php if (sfConfig::get('app_multi_repository') && null != 
$doc->repositoryId): ?>
-            <?php echo render_show(__('Repository'), 
link_to($doc->repositoryName, array('slug' => $doc->repositorySlug, 'module' => 
'repository'))) ?>
+          <?php echo render_show(__('Repository'), 
link_to($doc->repositoryName, array('slug' => $doc->repositorySlug, 'module' => 
'repository'))) ?>
         <?php endif; ?>
 
         <?php if ($doc->collectionRootId !== $doc->id): ?>

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to