-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into cde-mvp2
- Loading branch information
Showing
8 changed files
with
96 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 5 additions & 11 deletions
16
apps/humanatlas.io/src/app/components/announcement-card/announcement-card.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
<mat-card class="mat-card" *ngFor="let msg of messages"> | ||
<mat-card-content> | ||
<markdown> | ||
<div *ngIf="msg.route; else text"> | ||
{{ msg.message }} | ||
<a [routerLink]="['/release-notes/', msg.route]">{{ msg.routeText }}</a> | ||
{{ msg.emoji }} | ||
</div> | ||
<ng-template #text> | ||
{{ msg.message }} | ||
{{ msg.emoji }} | ||
</ng-template> | ||
</markdown> | ||
<div> | ||
{{ msg.message }} | ||
<a *ngIf="msg.route" [routerLink]="['/release-notes/', msg.route]">{{ msg.routeText }}</a> | ||
{{ msg.emoji }} | ||
</div> | ||
</mat-card-content> | ||
</mat-card> |
7 changes: 3 additions & 4 deletions
7
apps/humanatlas.io/src/app/components/announcement-card/announcement-card.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { BrowserModule } from '@angular/platform-browser'; | ||
import { MarkdownModule } from 'ngx-markdown'; | ||
import { AnnouncementCardComponent } from './announcement-card.component'; | ||
import { MatCardModule } from '@angular/material/card'; | ||
import { BrowserModule } from '@angular/platform-browser'; | ||
import { RouterModule } from '@angular/router'; | ||
import { AnnouncementCardComponent } from './announcement-card.component'; | ||
|
||
@NgModule({ | ||
declarations: [AnnouncementCardComponent], | ||
imports: [BrowserModule, MarkdownModule.forChild(), MatCardModule, RouterModule], | ||
imports: [BrowserModule, MatCardModule, RouterModule], | ||
exports: [AnnouncementCardComponent], | ||
}) | ||
export class AnnouncementCardModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
apps/humanatlas.io/src/app/components/toolbar/toolbar.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters