File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ angular.module('mm.addons.mod_wiki')
3232
3333 $scope . title = $stateParams . pagetitle || module . name ;
3434 $scope . description = module . description ;
35+ $scope . mainpage = ! currentPage ;
3536 $scope . moduleUrl = module . url ;
3637 $scope . courseId = courseId ;
3738 $scope . subwikiData = {
Original file line number Diff line number Diff line change 11< ion-content delegate-handle ="mmaModWikiIndexScroll " padding ="true " mm-state-class >
22 < ion-refresher pulling-text ="{{ 'mm.core.pulltorefresh' | translate }} " ng-if ="wikiLoaded " on-refresh ="refreshWiki() "> </ ion-refresher >
33 < mm-loading hide-until ="wikiLoaded ">
4- < mm-course-mod-description description ="description " watch ="true "> </ mm-course-mod-description >
4+ < mm-course-mod-description description ="description " watch ="true " ng-if =" mainpage " > </ mm-course-mod-description >
55 < article >
66 < mm-format-text class ="mm-content-with-float " watch ="true "> {{ pageContent }}</ mm-format-text >
77 </ article >
You can’t perform that action at this time.
0 commit comments