Merge pull request #179 from ajmedway/master

Enh: Changed `View::render()` calls in views to use absolute paths
This commit is contained in:
Antonio Ramirez
2018-05-02 17:41:47 +02:00
committed by GitHub
14 changed files with 14 additions and 13 deletions

View File

@ -1,6 +1,7 @@
# CHANGELOG
## 1.1.5 - Work in progress
- Enh: Changed `View::render()` calls in views to use absolute paths (ajmedway)
- Fix #169: Fix bug in ReCaptchaComponent (BuTaMuH)
- Fix #168: Fix spelling in russian language (EvgenyOrekhov)

View File

@ -32,7 +32,7 @@ use yii\helpers\Html;
]
); ?>
<?= $this->render('_user', ['form' => $form, 'user' => $user]) ?>
<?= $this->render('/admin/_user', ['form' => $form, 'user' => $user]) ?>
<div class="form-group">
<div class="col-lg-offset-3 col-lg-9">

View File

@ -96,7 +96,7 @@ $this->params['breadcrumbs'][] = $this->title;
]
); ?>
<?= $this->render('_user', ['form' => $form, 'user' => $user]) ?>
<?= $this->render('/admin/_user', ['form' => $form, 'user' => $user]) ?>
<div class="form-group">
<div class="col-lg-offset-3 col-lg-9">

View File

@ -23,7 +23,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'_form',
'/permission/_form',
[
'model' => $model,
'unassignedItems' => $unassignedItems,

View File

@ -23,7 +23,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'_form',
'/permission/_form',
[
'model' => $model,
'unassignedItems' => $unassignedItems,

View File

@ -22,7 +22,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'_form',
'/role/_form',
[
'model' => $model,
'unassignedItems' => $unassignedItems,

View File

@ -22,7 +22,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'_form',
'/role/_form',
[
'model' => $model,
'unassignedItems' => $unassignedItems,

View File

@ -22,7 +22,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'_form',
'/rule/_form',
[
'model' => $model,
]

View File

@ -23,7 +23,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'_form',
'/rule/_form',
[
'model' => $model,
]

View File

@ -31,7 +31,7 @@ $module = Yii::$app->getModule('user');
<div class="row">
<div class="col-md-3">
<?= $this->render('_menu') ?>
<?= $this->render('/settings/_menu') ?>
</div>
<div class="col-md-9">
<div class="panel panel-default">

View File

@ -28,7 +28,7 @@ $this->params['breadcrumbs'][] = $this->title;
<div class="row">
<div class="col-md-3">
<?= $this->render('_menu') ?>
<?= $this->render('/networks/_menu') ?>
</div>
<div class="col-md-9">
<div class="panel panel-default">

View File

@ -32,7 +32,7 @@ $timezoneHelper = $model->make(TimezoneHelper::class);
<div class="row">
<div class="col-md-3">
<?= $this->render('_menu') ?>
<?= $this->render('/profile/_menu') ?>
</div>
<div class="col-md-9">
<div class="panel panel-default">

View File

@ -32,7 +32,7 @@ use yii\helpers\Html;
<h3 class="panel-title"><?= Html::encode($this->title) ?></h3>
</div>
<div class="panel-body">
<?= $this->render('_menu') ?>
<?= $this->render('/shared/_menu') ?>
<?= $content ?>
</div>
</div>

View File

@ -20,7 +20,7 @@ $this->title = $title;
?>
<?= $this->render(
'_alert',
'/shared/_alert',
[
'module' => $module,
]