monica/data/framework/views/bc96be96f4b56fe504467c61a6df3a65251d46b6.php
2020-10-07 10:38:13 -07:00

45 lines
1.5 KiB
PHP

<div class="sidebar-box introductions">
<p class="sidebar-box-title">
<strong><?php echo e(trans('people.introductions_sidebar_title')); ?></strong>
</p>
<?php if(! $contact->hasFirstMetInformation()): ?>
<p class="sidebar-box-paragraph">
<a href="<?php echo e(route('people.introductions.edit', $contact)); ?>"><?php echo e(trans('people.introductions_blank_cta', ['name' => $contact->first_name])); ?></a>
</p>
<?php else: ?>
<ul>
<?php if($introducer = $contact->getIntroducer()): ?>
<li>
<i class="fa fa-sign-language"></i>
<?php echo trans('people.introductions_met_through', ['url' => route('people.show', $introducer), 'name' => $introducer->name]); ?>
</li>
<?php endif; ?>
<?php if($contact->firstMetDate): ?>
<li>
<i class="fa fa-hourglass-start"></i>
<?php echo e(trans('people.introductions_met_date', ['date' => $contact->firstMetDate->toShortString()])); ?>
</li>
<?php endif; ?>
<?php if($contact->first_met_additional_info): ?>
<li>
<i class="fa fa-id-card-o"></i>
<?php echo e($contact->first_met_additional_info); ?>
</li>
<?php endif; ?>
</ul>
<p class="sidebar-box-paragraph">
<a href="<?php echo e(route('people.introductions.edit', $contact)); ?>"><?php echo e(trans('app.edit')); ?></a>
</p>
<?php endif; ?>
</div>
<?php /**PATH /var/www/html/resources/views/people/introductions/index.blade.php ENDPATH**/ ?>