Prechádzať zdrojové kódy

replace آیین نامه to قوانین

ali 3 rokov pred
rodič
commit
ef6d9dfaa4

+ 2 - 2
src/components/Widgets/Other/ShowClassroomInfo/ShowClassroomInfo.vue

@@ -246,7 +246,7 @@
               full-width>
       <q-card>
         <q-card-section>
-          <div class="text-h6">آیین نامه</div>
+          <div class="text-h6">قوانین</div>
         </q-card-section>
 
         <q-separator />
@@ -264,7 +264,7 @@
           <div v-if="(!classroom.is_enabled_enrolment || !classroom.is_enabled_adding) && acceptClassType !== 'rules'"
                class="rulesDialog-accept-chk">
             <q-checkbox v-model="rulesAccept"
-                        label="آیین نامه دوره آموزشی را خواندم و قصد ثبت نام در دوره را دارم" />
+                        label="قوانین دوره آموزشی را خواندم و قصد ثبت نام در دوره را دارم" />
           </div>
           <div class="rulesDialog-btns q-gutter-md">
             <q-btn v-if="acceptClassType === 'rules'"

+ 5 - 6
src/pages/Admin/Unit/show.vue

@@ -130,12 +130,11 @@ export default {
       entityParamKey: 'id',
       showRouteName: 'Admin.Unit.Show',
       inputs: [
-        { type: 'input', name: 'title', responseKey: 'title', label: 'نام درس', col: 'col-md-12' },
-        { type: 'inputEditor', name: 'rules', responseKey: 'rules', label: 'قوانین درس', col: 'col-md-12' },
-        { type: 'inputEditor', name: 'codes', responseKey: 'codes', label: 'آیین نامه', col: 'col-md-12' },
-        { type: PostRequisitesComp, name: 'prerequisites', responseKey: 'prerequisites', col: 'col-md-12' },
-        { type: 'hidden', name: 'id', responseKey: 'id', label: 'id', col: 'col-md-3' },
-        { type: 'hidden', name: 'category', responseKey: 'category_info.id', label: 'id', col: 'col-md-3' }
+        { type: 'input', name: 'title', responseKey: 'title', label: 'نام درس', col: 'col-12' },
+        { type: 'inputEditor', name: 'rules', responseKey: 'rules', label: 'قوانین درس', col: 'col-12' },
+        { type: PostRequisitesComp, name: 'prerequisites', responseKey: 'prerequisites', col: 'col-12' },
+        { type: 'hidden', name: 'id', responseKey: 'id', label: 'id', col: 'col-md-3 col-12' },
+        { type: 'hidden', name: 'category', responseKey: 'category_info.id', label: 'id', col: 'col-md-3 col-12' }
       ],
 
       categories: new UnitCategoryList(),