mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
mobile fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="card" (click)="onCardClick()">
|
||||
<h2 class="identifier">{{ student().identifier }}</h2>
|
||||
<span class="age-badge">Grad Date: {{ student().expectedGradDate }}</span>
|
||||
<span class="age-badge">Grad Date: {{ student().expectedGradDate | date:'M/d/yy' }}</span>
|
||||
<div class="stats">
|
||||
<span class="stat">{{ student().goalCount }} goals</span>
|
||||
<span class="stat">{{ student().progressEventCount }} events</span>
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Component, inject, input } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { StudentCardDto } from '../../../shared/classes/student-card.dto';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-student-card',
|
||||
imports: [],
|
||||
imports: [DatePipe],
|
||||
templateUrl: './student-card.html',
|
||||
styleUrl: './student-card.scss',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user