<?php slot('share_text'); echo entity_link($relationship['Entity1']); ?> <?php echo $current === NULL ? "is/was" : ($current == '1' ? "is" : "was"); ?> a student of <?php echo entity_link($relationship['Entity2']); end_slot(); echo get_slot('share_text'); slot('share_text', RelationshipTable::formatSentenceForShare(get_slot('share_text'))); ?> </span> <br /> <br /> <?php $data = array('Type' => $relationship['description1'], 'Start date' => Dateable::convertForDisplay($relationship['start_date']), 'End date' => Dateable::convertForDisplay($relationship['end_date']), 'Is current' => LsLogic::nullOrBoolean($relationship['is_current']), 'Degree' => RelationshipTable::getDegreeNameById($relationship['id']), 'Field' => $relationship['field'], 'Is dropout' => LsLogic::nullOrBoolean($relationship['is_dropout']), 'Notes' => $relationship['notes'] ? nl2br($relationship['notes']) : null); ?> <?php include_partial('global/section', array('title' => 'Details')); ?> <div class="padded"> <?php include_partial('global/datatable', array('data' => $data)); ?> </div>