Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-4938 - Add school specific Terms of Use (Nutzungsordnung) for new school admin page #2799

Merged
merged 24 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/components/organisms/administration/SchoolPolicy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/>
<v-list-item v-else two-line dense class="mb-6" data-testid="policy-item">
<v-list-item-icon>
<v-icon>{{ pdfIcon }}</v-icon>
<v-icon>{{ "$file_pdf_outline" }}</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title class="text-body-1 black--text mb-2">
Expand Down Expand Up @@ -163,7 +163,6 @@ export default defineComponent({
const error: ComputedRef<BusinessError> = computed(
() => privacyPolicyModule.getBusinessError
);
const pdfIcon = "$file_pdf_outline";

const downloadFile = () => {
const link = document.createElement("a");
Expand All @@ -187,7 +186,6 @@ export default defineComponent({
error,
mdiPencilOutline,
mdiTrayArrowDown,
pdfIcon,
downloadFile,
dayjs,
closeDialog,
Expand Down
4 changes: 1 addition & 3 deletions src/components/organisms/administration/SchoolTerms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/>
<v-list-item v-else two-line dense class="mb-6" data-testid="terms-item">
<v-list-item-icon>
<v-icon>{{ pdfIcon }}</v-icon>
<v-icon>{{ "$file_pdf_outline" }}</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title class="text-body-1 black--text mb-2">
Expand Down Expand Up @@ -159,7 +159,6 @@ export default defineComponent({
const error: ComputedRef<BusinessError> = computed(
() => termsOfUseModule.getBusinessError
);
const pdfIcon = "$file_pdf_outline";

const downloadFile = () => {
const link = document.createElement("a");
Expand All @@ -183,7 +182,6 @@ export default defineComponent({
error,
mdiPencilOutline,
mdiTrayArrowDown,
pdfIcon,
downloadFile,
dayjs,
closeDialog,
Expand Down