4 Commits

Author SHA1 Message Date
25eafa560e Merge branch '11627-document-and-test-empty-listview' of git://github.com/mytskine/yii2 into mytskine-11627-document-and-test-empty-listview
Conflicts:
	framework/widgets/BaseListView.php
	tests/framework/widgets/ListViewTest.php
2016-12-05 22:19:02 +02:00
87f843524e Fixed typo 2016-11-08 23:26:46 +02:00
24a5532ca9 Added unit tests for #12750 2016-11-08 23:20:42 +02:00
7669d60df6 Document and test ListView.showOnEmpty
This addresses #11627 by completing the documentation without changing
the behavior. Some basic unit tests are added on ListView to ensure this
won't change unintentionnally.

That means a ListView widget with an empty provider and
`showOnEmpty=true` will still display an empty element (by default, an
empty "div.list-view").
2016-10-14 15:40:23 +02:00