Skip to content

Commit

Permalink
Update TeacherProjectView.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
tyboro2002 authored Apr 18, 2024
1 parent 80f7d1d commit 081e7f0
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions frontend/src/views/projects/roles/TeacherProjectView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
<script setup lang="ts"></script>
<script setup lang="ts">
import Button from 'primevue/button';
import { type Project } from '@/types/Project';
import { type Course } from '@/types/Course';
import { PrimeIcons } from 'primevue/api';
import { useI18n } from 'vue-i18n';
<template>Not implemented</template>
const props = defineProps<{
course: Course;
project: Project;
}>();
const { t } = useI18n();
</script>

<template>
<!-- Update course button -->
<div v-tooltip.top="t('views.courses.edit')">
<RouterLink :to="{ name: 'project-edit', params: { courseId: props.course.id, projectId: props.project.id } }">
<Button
:icon="PrimeIcons.PENCIL"
icon-pos="right"
class="custom-button"
style="height: 51px; width: 51px; margin-right: 10px"
/>
</RouterLink>
</div>
</template>

<style scoped lang="scss"></style>

0 comments on commit 081e7f0

Please sign in to comment.