Skip to content

Commit

Permalink
Rename user into employee in title and on button
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic committed Oct 29, 2019
1 parent 767d096 commit c6121ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion views/layouts/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ class="fa fa-clock-o"></i> <?php echo $items->getDisplayDate() ?>
<div id="ribbon" class="hidden-print">
<a href="<?php echo Url::to(['/']) ?>" class="btn-ribbon" data-container="#main" data-toggle="tooltip"
data-title="Show dashboard"><i class="fa fa-home"></i></a>
<span class="vertical-devider">&nbsp;</span>
<?php echo Breadcrumbs::widget([
'homeLink' => false,
'tag' => 'ol',
Expand Down
4 changes: 2 additions & 2 deletions views/user/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
/* @var $searchModel app\models\search\UserSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = Yii::t('app', 'Users');
$this->title = Yii::t('app', 'Employees');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="user-index">

<?php // echo $this->render('_search', ['model' => $searchModel]); ?>

<p>
<?php echo Html::a(Yii::t('app', 'Create {modelClass}', [
<?php echo Html::a(Yii::t('app', 'Create new Employee', [
'modelClass' => 'User',
]), ['create'], ['class' => 'btn btn-success']) ?>
</p>
Expand Down

0 comments on commit c6121ec

Please sign in to comment.