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

30 lines
1.3 KiB
PHP

<div class="col-12 <?php echo e(\App\Helpers\LocaleHelper::getDirection()); ?>">
<h3>
🗣 <?php echo e(trans('people.conversation_list_title')); ?>
<span class="relative <?php echo e(\App\Helpers\LocaleHelper::getDirection() == 'ltr' ? 'fr' : 'fl'); ?>" style="top: -7px;">
<a href="<?php echo e(route('people.conversations.create', $contact)); ?>" class="btn edit-information"><?php echo e(trans('people.conversation_list_cta')); ?></a>
</span>
</h3>
</div>
<?php if($contact->conversations->count() > 0): ?>
<div class="<?php echo e(\App\Helpers\LocaleHelper::getDirection() == 'ltr' ? 'fl' : 'fr'); ?> w-100 pb3 pt1 pl3 pr3">
<div class="br2 bg-white mb4">
<conversation-list hash="<?php echo e($contact->hashID()); ?>"></conversation-list>
</div>
</div>
<?php else: ?>
<div class="col-12" cy-name="conversation-blank-state">
<div class="section-blank">
<h3><?php echo e(trans('people.conversation_blank', ['name' => $contact->first_name])); ?></h3>
<a href="<?php echo e(route('people.conversations.create', $contact)); ?>" cy-name="add-conversation-button"><?php echo e(trans('people.conversation_list_cta')); ?></a>
</div>
</div>
<?php endif; ?>
<?php /**PATH /var/www/html/resources/views/people/conversations/index.blade.php ENDPATH**/ ?>