Skip to content

Commit

Permalink
Updates to release v1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Sep 27, 2018
1 parent d5895df commit 91905b0
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Licensing
---------

It should also be made clear that **all code contributed to yii2-detail-view** must be
licensable under the [BSD-3 license][licensing]. Code that cannot be released
licensable under the [BSD-3-CLause license][licensing]. Code that cannot be released
under this license **cannot be accepted** into the project.

[issue-search]: https://github.com/kartik-v/yii2-detail-view/search?q=&type=Issues
Expand Down
6 changes: 6 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Change Log: `yii2-detail-view`
==============================

## Version 1.8.1

**Date:** 27-Sep-2018

- Enhancement for `BootstrapTrait::getCssClass`.

## Version 1.8.0

**Date:** 27-Sep-2018
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014 - 2017, Kartik Visweswaran
Copyright (c) 2014 - 2018, Kartik Visweswaran
Krajee.com
All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ echo DetailView::widget([

## License

**yii2-detail-view** is released under the BSD-3-Clause License. See the bundled `LICENSE.md` for details.
**yii2-detail-view** is released under the BSD-3-Clause License. See the bundled `LICENSE.md` for details.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kartik-v/yii2-detail-view",
"description": "Various enhancements to the Yii 2 Detail View with multi models, ability to edit data, manage Bootstrap 3 styles and more.",
"description": "Enhanced Yii 2 Detail View widget with special Bootstrap styles, ability to edit data, and more.",
"keywords": [
"yii2",
"extension",
Expand Down
10 changes: 5 additions & 5 deletions src/DetailView.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @package yii2-detail-view
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2018
* @version 1.8.0
* @version 1.8.1
*/

namespace kartik\detail;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/DetailViewAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @package yii2-detail-view
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2018
* @version 1.8.0
* @version 1.8.1
*/

namespace kartik\detail;
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/kv-detail-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @package yii2-detail-view
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2018
* @version 1.8.0
* @version 1.8.1
*
* Styles for yii2-detail-view extension
*
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/kv-detail-view.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/assets/js/kv-detail-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @package yii2-detail-view
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2018
* @version 1.8.0
* @version 1.8.1
*
* Client extension for the yii2-detail-view extension
*
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/kv-detail-view.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 91905b0

Please sign in to comment.