diff --git a/frontend/src/api/mappers.ts b/frontend/src/api/mappers.ts index 6d4fe6f..fdc00db 100644 --- a/frontend/src/api/mappers.ts +++ b/frontend/src/api/mappers.ts @@ -73,7 +73,7 @@ export function mapApiLecture(lecture: LectureDto): Lecture { time: startsAt.toLocaleTimeString('ru-RU', { hour: '2-digit', minute: '2-digit' }), duration, building: lecture.format === 'Online' ? 'Онлайн' : locationName, - room: lecture.format === 'Online' ? undefined : locationName, + room: undefined, format: lecture.format === 'Online' ? 'online' : 'offline', totalSeats, enrolledSeats: enrolled, diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css index eea430c..011f161 100644 --- a/frontend/src/assets/main.css +++ b/frontend/src/assets/main.css @@ -217,7 +217,7 @@ input, textarea, select { font-weight: 600; white-space: nowrap; } -.badge-green { color: #15803D; border: 1.5px solid rgba(34,197,94,0.3); } +.badge-green { color: #15803D; border: 1.3px solid rgba(34,197,94,0.3); } .badge-blue { background: rgba(6,182,212,0.15); color: #0E7490; border: 1px solid rgba(6,182,212,0.3); } .badge-orange { background: rgba(251,146,60,0.15); color: #C2410C; border: 1px solid rgba(251,146,60,0.3); } .badge-gray { background: rgba(100,116,139,0.1); color: #64748B; border: 1px solid rgba(100,116,139,0.2); } diff --git a/frontend/src/components/ui/LectureCard.vue b/frontend/src/components/ui/LectureCard.vue index 7cedb4b..562afa1 100644 --- a/frontend/src/components/ui/LectureCard.vue +++ b/frontend/src/components/ui/LectureCard.vue @@ -50,9 +50,15 @@ function goDetail() {

{{ lecture.title }}

- - {{ lecture.teacher }} - · {{ lecture.institute }} + +
diff --git a/frontend/src/views/student/CatalogView.vue b/frontend/src/views/student/CatalogView.vue index f4ff151..efec227 100644 --- a/frontend/src/views/student/CatalogView.vue +++ b/frontend/src/views/student/CatalogView.vue @@ -222,10 +222,10 @@ function isRegistered(id: string) {
{{ row.tags.join(' ') }}