-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* @package yii2-detail-view | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 | ||
* @version 1.8.0 | ||
* @version 1.8.1 | ||
*/ | ||
|
||
namespace kartik\detail; | ||
|
@@ -531,7 +531,7 @@ class DetailView extends YiiDetailView implements BootstrapInterface | |
* - inputType: string|Closure, the HTML 5 input type if `type` is set to [[DetailView::::INPUT_HTML 5]]. | ||
* - inputContainer: array|Closure, HTML attributes for the input container | ||
* - inputWidth: string|Closure, the width of the container holding the input, should be appended along with the | ||
* width unit (`px` or `%`) - this property is deprecated since v1.8.0 | ||
* width unit (`px` or `%`) - this property is deprecated since v1.7.7 | ||
* - fieldConfig: array|Closure, optional, the Active field configuration. | ||
* - options: array|Closure, optional, the HTML attributes for the input. | ||
* - updateAttr: string|Closure, optional, the name of the attribute to be updated, when in edit mode. This will | ||
|
@@ -871,8 +871,8 @@ protected function runWidget() | |
$this->container['id'] = $this->getId(); | ||
} | ||
$this->initI18N(__DIR__); | ||
Html::addCssClass($this->alertContainerOptions, | ||
[$this->getCssClass(self::BS_PANEL_BODY), 'kv-alert-container']); | ||
$this->addCssClass($this->alertContainerOptions, self::BS_PANEL_BODY); | ||
Html::addCssClass($this->alertContainerOptions, 'kv-alert-container'); | ||
foreach ($this->alertMessageSettings as $key => $setting) { | ||
$this->alertMessageSettings[$key] = (array)$setting; | ||
} | ||
|
@@ -1134,7 +1134,7 @@ protected function renderFormAttribute($config) | |
$inputWidth = ArrayHelper::getValue($config, 'inputWidth', ''); | ||
$container = ArrayHelper::getValue($config, 'inputContainer', []); | ||
if ($inputWidth != '') { | ||
Html::addCssStyle($container, "width: {$inputWidth}"); // deprecated since v1.8.0 | ||
Html::addCssStyle($container, "width: {$inputWidth}"); // deprecated since v1.8.1 | ||
} | ||
$template = ArrayHelper::getValue($fieldConfig, 'template', "{input}\n{error}\n{hint}"); | ||
$row = Html::tag('div', $template, $container); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* @package yii2-detail-view | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 | ||
* @version 1.8.0 | ||
* @version 1.8.1 | ||
*/ | ||
|
||
namespace kartik\detail; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @package yii2-detail-view | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 | ||
* @version 1.8.0 | ||
* @version 1.8.1 | ||
* | ||
* Styles for yii2-detail-view extension | ||
* | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @package yii2-detail-view | ||
* @author Kartik Visweswaran <[email protected]> | ||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 | ||
* @version 1.8.0 | ||
* @version 1.8.1 | ||
* | ||
* Client extension for the yii2-detail-view extension | ||
* | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.