Show
Ignore:
Timestamp:
08/24/10 10:37:16 (21 months ago)
Author:
gnum
Message:

References #96, using same facilitators view for participants page facilitators block

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/views/default/edufeedr/educourse_participants.php

    r118 r142  
    4545                } 
    4646 
    47         // Display teacher 
    48         $body .= '<div class="edufeedr_course_teachers">'; 
    49         /*translation:Facilitator*/ 
    50         $body .= '<label>' . elgg_echo('edufeedr:label:course:facilitator') . ':</label><br />'; 
    51         $teacher = $vars['entity']->getOwnerEntity(); 
    52         $body .= $teacher->name . ' / '; 
    53         $body .= elgg_view('output/email', array('value' => $teacher->email)) . ' / '; 
    54         $body .= elgg_view('output/url', array('href' => $vars['entity']->course_blog, 'target' => '_blank')); 
    55         $body .= '</div>'; 
     47                // Display facilitators 
     48                $body .= elgg_view('edufeedr/educourse_facilitators', array('entity' => $vars['entity'], 'type' => 'view')); 
    5649 
    5750                $body .= '</div>';//educourse ends