Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2-giiant
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
yii2-giiant
Commits
24b3d1c2
Commit
24b3d1c2
authored
Jul 29, 2016
by
Christopher Stebe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed `crud/default/view` template, create new related record link param
parent
8eb4f2e2
Pipeline
#12555
failed with stages
in 3 minutes and 8 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG.md
CHANGELOG.md
+4
-0
view.php
src/generators/crud/default/views/view.php
+1
-1
No files found.
CHANGELOG.md
View file @
24b3d1c2
Changelog
=========
### 0.8.4
*
fixed
`crud/default/view`
template, create new related record link param
### 0.8.3
*
fixed
`$actionColumnTemplateString`
in crud default view index.php
...
...
src/generators/crud/default/views/view.php
View file @
24b3d1c2
...
...
@@ -178,7 +178,7 @@ EOS;
'<span class=
\"
glyphicon glyphicon-plus
\"
></span> ' . "
.
$generator
->
generateString
(
'New'
)
.
" . ' "
.
Inflector
::
singularize
(
Inflector
::
camel2words
(
$name
))
.
"',
['"
.
$generator
->
createRelationRoute
(
$relation
,
'create'
)
.
"', '"
.
Inflector
::
singularize
(
$nam
e
)
.
"' => ['"
.
key
(
$relation
->
link
)
.
"' =>
\$
model->"
.
$model
->
primaryKey
()[
0
]
.
"]],
Inflector
::
id2camel
(
$generator
->
generateRelationTo
(
$relation
),
'-'
,
tru
e
)
.
"' => ['"
.
key
(
$relation
->
link
)
.
"' =>
\$
model->"
.
$model
->
primaryKey
()[
0
]
.
"]],
['class'=>'btn btn-success btn-xs']
); ?>
\n
"
;
echo
$addButton
;
...
...
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