Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2-widgets2-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hrzg
yii2-widgets2-module
Commits
fa78df08
Commit
fa78df08
authored
Jul 13, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated breadcrumbs
parent
7ce9a710
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
Module.php
src/Module.php
+1
-1
view.php
src/views/crud/widget-template/view.php
+1
-1
view.php
src/views/crud/widget/view.php
+5
-2
No files found.
src/Module.php
View file @
fa78df08
...
...
@@ -16,7 +16,7 @@ class Module extends \yii\base\Module
public
function
beforeAction
(
$action
)
{
parent
::
beforeAction
(
$action
);
\Yii
::
$app
->
controller
->
view
->
params
[
'breadcrumbs'
][]
=
[
'label'
=>
'Widget'
,
'url'
=>
[
'/widgets'
]];
\Yii
::
$app
->
controller
->
view
->
params
[
'breadcrumbs'
][]
=
[
'label'
=>
'Widget
module
'
,
'url'
=>
[
'/widgets'
]];
return
true
;
}
...
...
src/views/crud/widget-template/view.php
View file @
fa78df08
...
...
@@ -3,7 +3,7 @@
* /app/src/../runtime/giiant/d4b4964a63cc95065fa0ae19074007ee.
*/
use
dmstr\bootstrap\Tabs
;
use
dmstr
\helpers\Html
;
use
yii
\helpers\Html
;
use
yii\widgets\DetailView
;
/*
...
...
src/views/crud/widget/view.php
View file @
fa78df08
<?php
namespace
_
;
/**
* /app/src/../runtime/giiant/d4b4964a63cc95065fa0ae19074007ee.
*/
use
dmstr\bootstrap\Tabs
;
use
dmstr
\helpers\Html
;
use
yii
\helpers\Html
;
use
yii\widgets\DetailView
;
/*
...
...
@@ -16,7 +19,7 @@ $copyParams = $model->attributes;
$this
->
title
=
$model
->
getAliasModel
()
.
$model
->
id
;
$this
->
params
[
'breadcrumbs'
][]
=
[
'label'
=>
$model
->
getAliasModel
(
true
),
'url'
=>
[
'index'
]];
$this
->
params
[
'breadcrumbs'
][]
=
[
'label'
=>
(
string
)
$model
->
id
,
'url'
=>
[
'view'
,
'id'
=>
$model
->
id
]];
$this
->
params
[
'breadcrumbs'
][]
=
Yii
::
t
(
'app'
,
'View'
);
$this
->
params
[
'breadcrumbs'
][]
=
\
Yii
::
t
(
'app'
,
'View'
);
?>
<div
class=
"giiant-crud widget-view"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment