first draft of materio_contactops module : shows company taged materials for a user contactop

This commit is contained in:
Bachir Soussi Chiadmi
2017-07-25 22:32:52 +02:00
parent b9c809d2c7
commit 4b2ab455c9
4 changed files with 200 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
// dsm($items, 'items');
?>
<section class="materiobase-contactops-materials">
<?php if($count): ?>
<p class="materials-infos"><?php print $materials_infos; ?></p>
<div class="actuality-items">
<?php $entity_view = entity_view('node', $items, $view_mode); ?>
<?php print render($entity_view); ?>
</div>
<div class="pager">
<?php print $pager; ?>
</div>
<?php else : ?>
<div class="materials-no-items">
<h2><?php print t('There is now materials for now.');?></h2>
</div>
<?php endif ;?>
</section>