|
10 | 10 | <div id="siteSettings" class="tab-content"> |
11 | 11 | <div class="article-part"> |
12 | 12 | <div class="row padding border margin"> |
13 | | - <div class="row"> |
14 | | - <i-control class="col6" label="##word.Ceo Manager##" ng-model="siteSetting.ceoManager"> </i-control> |
15 | | - <i-list |
16 | | - class="col6" |
17 | | - label="##word.Teacher##" |
18 | | - x-permissions="admin" |
19 | | - ng-hide="siteSetting.isShared" |
20 | | - ng-model="siteSetting.teacher" |
21 | | - display="firstName" |
22 | | - items="teachersList" |
23 | | - ng-get="getTeachersList($search)" |
24 | | - ></i-list> |
| 13 | + <div class="row" ng-hide="siteSetting.isShared"> |
| 14 | + <i-list class="col6" label="##word.Teacher##" x-permissions="admin" ng-model="siteSetting.teacher" display="firstName" items="teachersList" ng-get="getTeachersList($search)"></i-list> |
25 | 15 | </div> |
26 | 16 | </div> |
27 | 17 |
|
|
40 | 30 | <i-control class="col6" label="##word.Link## ##word.Apple Store##" ng-model="siteSetting.appleStore"> </i-control> |
41 | 31 | </div> |
42 | 32 |
|
43 | | - <div class="row"> |
| 33 | + <div class="row" ng-show="siteSetting.isEducationalPlatform"> |
44 | 34 | <i-control class="col3" type="number" label="##word.Packages Limit##" ng-model="siteSetting.packagesLimit"> </i-control> |
45 | 35 | <i-control class="col3" type="number" label="##word.Lectures Limit##" ng-model="siteSetting.lecturesLimit"> </i-control> |
46 | 36 | <i-control class="col3" type="number" label="##word.Books Limit##" ng-model="siteSetting.booksLimit"> </i-control> |
|
87 | 77 | </div> |
88 | 78 | <div class="row"> |
89 | 79 | <i-textarea ng-model="siteSetting.description" label="##word.Site Description##"> </i-textarea> |
90 | | - <i-textarea ng-model="siteSetting.textPurchaseByBook" label="##word.Text purchase by book##"> </i-textarea> |
91 | | - <i-textarea ng-model="siteSetting.textPurchaseByCode" label="##word.Text purchase by code##"> </i-textarea> |
| 80 | + <i-textarea ng-model="siteSetting.textPurchaseByBook" ng-show="siteSetting.isEducationalPlatform" label="##word.Text purchase by book##"> </i-textarea> |
| 81 | + <i-textarea ng-model="siteSetting.textPurchaseByCode" ng-show="siteSetting.isEducationalPlatform" label="##word.Text purchase by code##"> </i-textarea> |
92 | 82 | <i-textarea ng-model="siteSetting.textOurPlacesTimes" label="##word.Text our places and times##"> </i-textarea> |
93 | 83 | </div> |
94 | 84 |
|
|
107 | 97 | <div class="row"> |
108 | 98 | <i-checkbox label="##word.Educational Platform##" x-permissions="admin" ng-model="siteSetting.isEducationalPlatform"> </i-checkbox> |
109 | 99 | <i-checkbox label="##word.Active Center##" x-permissions="admin" ng-model="siteSetting.isCenter"> </i-checkbox> |
110 | | - <i-checkbox label="##word.Shared Site##" x-permissions="admin" ng-model="siteSetting.isShared"> </i-checkbox> |
111 | | - <i-checkbox label="##word.Online active##" ng-model="siteSetting.isOnline"> </i-checkbox> |
| 100 | + <i-checkbox label="##word.Shared Site##" x-permissions="admin" ng-show="siteSetting.isEducationalPlatform" ng-model="siteSetting.isShared"> </i-checkbox> |
| 101 | + <i-checkbox label="##word.Online active##" ng-show="siteSetting.isEducationalPlatform" ng-model="siteSetting.isOnline"> </i-checkbox> |
112 | 102 | <i-checkbox label="##word.Cities And Areas Show##" ng-model="siteSetting.citiesAndAreasShow"> </i-checkbox> |
113 | 103 | <i-checkbox label="##word.Nationalities Show##" ng-model="siteSetting.nationalitiesShow"> </i-checkbox> |
114 | 104 | <i-checkbox label="##word.Name Besid Logo Show##" ng-model="siteSetting.nameBesidLogoShow"> </i-checkbox> |
115 | 105 | <i-checkbox label="##word.Parent Show##" ng-model="siteSetting.showParent"> </i-checkbox> |
116 | | - <i-checkbox label="##word.Packages Show##" ng-model="siteSetting.showPackages"> </i-checkbox> |
117 | | - <i-checkbox label="##word.Lectures Show##" ng-model="siteSetting.showLectures"> </i-checkbox> |
118 | | - <i-checkbox label="##word.Books Show##" ng-model="siteSetting.showBooks"> </i-checkbox> |
| 106 | + <i-checkbox label="##word.Packages Show##" ng-show="siteSetting.isEducationalPlatform" ng-model="siteSetting.showPackages"> </i-checkbox> |
| 107 | + <i-checkbox label="##word.Lectures Show##" ng-show="siteSetting.isEducationalPlatform" ng-model="siteSetting.showLectures"> </i-checkbox> |
| 108 | + <i-checkbox label="##word.Books Show##" ng-show="siteSetting.isEducationalPlatform" ng-model="siteSetting.showBooks"> </i-checkbox> |
119 | 109 | <i-checkbox label="##word.Banner Show##" ng-model="siteSetting.showBanner"> </i-checkbox> |
120 | 110 | <i-checkbox label="##word.Auto Student Barcode##" ng-show="siteSetting.isCenter" ng-model="siteSetting.autoStudentBarcode"> </i-checkbox> |
121 | 111 | </div> |
|
0 commit comments