Example #1
0
use yii\helpers\Html;
use yii\grid\GridView;
use simplator\staff\Module;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $model simplator\staff\models\Structure */
\simplator\base\BaseAssetBundle::register($this);
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => Module::t('staff', 'Structure'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="structure-view">

	<div>	
		<?php 
echo Html::img(simplator\medialib\models\File::picture($model->logoid, 'preview', 'stafflogo'), ['style' => 'float:left']);
?>
 <h1><?php 
echo $model->fulltitle;
?>
</h1>
		<div>Адресс: <?php 
echo $model->address;
?>
</div>
	</div>
	<div><?php 
echo $model->about;
?>
</div>
		
Example #2
0
<?php

use yii\helpers\Html;
use yii\grid\GridView;
use simplator\staff\Module;
/* @var $this yii\web\View */
/* @var $model simplator\staff\models\Structure */
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => Module::t('staff', 'Structures'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="structure-view">

    <div class="">
		<?php 
echo Html::img(simplator\medialib\models\File::picture($model->logoid, 'preview', 'stafflogo'));
?>
 <h1><?php 
echo $model->fulltitle;
?>
</h1>
		<div><?php 
echo $model->address;
?>
</div>
		<div><?php 
echo $model->about;
?>
</div>
	</div>
	<p>