File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
assets/vue/components/course Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 2121 :url =" tool.url"
2222 class =" course-tool__title"
2323 >
24- {{ tool.tool.titleToShow }}
24+ {{ $t( tool.tool.titleToShow) }}
2525 </BaseAppLink >
2626
2727 <div class =" course-tool__options" >
5454 size =" small"
5555 />
5656 </a >
57-
58- <!-- a
59- v-if="securityStore.isCurrentTeacher"
60- :href="goToSettingCourseTool(tool)"
61- >
62- <BaseIcon
63- icon="cog"
64- size="lg"
65- />
66- </a -->
6757 </div >
6858 </div >
6959</template >
7060
7161<script setup>
7262import { computed , inject } from " vue"
63+ import { useI18n } from " vue-i18n"
7364import BaseIcon from " ../basecomponents/BaseIcon.vue"
7465import { useSecurityStore } from " ../../store/securityStore"
7566import { usePlatformConfig } from " ../../store/platformConfig"
7667import { storeToRefs } from " pinia"
7768import { useCidReqStore } from " ../../store/cidReq"
7869import BaseAppLink from " ../basecomponents/BaseAppLink.vue"
7970
71+ const { t } = useI18n ()
72+
8073const securityStore = useSecurityStore ()
8174const platformConfigStore = usePlatformConfig ()
8275const cidReqStore = useCidReqStore ()
You can’t perform that action at this time.
0 commit comments