Skip to content

Instantly share code, notes, and snippets.

@damianoporta
Created March 24, 2016 15:27
Show Gist options
  • Save damianoporta/368afed0e47c40cbd917 to your computer and use it in GitHub Desktop.
Save damianoporta/368afed0e47c40cbd917 to your computer and use it in GitHub Desktop.
<div class="col-xs-6">
<?php
$content = $this->fetch('heading_right');
if ($content) {
echo $content;
} else {
if ($authUser['role_id'] == 2 && !empty($company['logo']) && !empty($company['logo_dir'])) { ?>
<div class="pull-right hidden-sm hidden-xs">
<h2><?php echo $this->Html->companyImage('logo', $company['logo_dir'], $company['logo'], 'thumb_', '', []); ?></h2>
</div>
<?php
}
}
?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment