Skip to content

Commit

Permalink
Disable the ability to unset a current homepage in the cms module, this
Browse files Browse the repository at this point in the history
may lead into a state without any homepage defined. closes #856
  • Loading branch information
nadar committed May 10, 2016
1 parent 1423491 commit 6686a9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ LUYA CHANGELOG
1.0.0-beta7 (in progress)
-------------------------

- `#856` Disable the ability to unset a current homepage in the cms module, this may lead into a state without any homepage defined.
- `#847` Fixed bug in model crud/createcreate command template where short open tag is disabled.
- `#729` Added extra variable informations when creating a block with cms-page type to help retrieve menu informations.
- `#848` Detached composition event when using langauge switcher composition context setter, as it causes the application language.
Expand Down
3 changes: 3 additions & 0 deletions modules/cmsadmin/src/views/page/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,11 @@
<div class="switch">
<label title="Setzt diese Seite als Startseite.">
<?php echo \cmsadmin\Module::t('view_update_is_homepage'); ?>
<span ng-if="navData.is_home"><i class="switch__icon material-icons">check</i></span>
<span ng-if="!navData.is_home">
<input type="checkbox" ng-model="navData.is_home" ng-true-value="1" ng-false-value="0">
<span class="lever"></span>
</span>
</label>
</div>
</div>
Expand Down

0 comments on commit 6686a9c

Please sign in to comment.