Skip to content

Commit

Permalink
add disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek committed Jan 22, 2024
1 parent 375bcde commit 69cf469
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<h2 mat-dialog-title>{{ 'MODALS.PICTOGRAMS.TITLE' | translate }}</h2>
<img ngSrc="/assets/images/logo_ARASAAC.png" width="200" height="50">
<mat-dialog-content>
<mat-form-field>
<mat-label>{{ 'MODALS.PICTOGRAMS.FORM_INPUT_LABEL_SEARCH' | translate }}</mat-label>
Expand All @@ -10,17 +9,21 @@ <h2 mat-dialog-title>{{ 'MODALS.PICTOGRAMS.TITLE' | translate }}</h2>
</mat-form-field>
<ng-container *ngIf="cardLayout | async as layout">
<mat-grid-list cols="2" rowHeight="2:1" [cols]="layout.columns">
<div *ngIf="!pictos">{{ 'MODALS.PICTOGRAMS.EMPTY' | translate }}</div>
<mat-grid-tile *ngFor="let picto of pictos;" [colspan]="layout.miniCard.cols" [rowspan]="layout.miniCard.rows" class="image-wrapper">
<button mat-button (click)="getImageFileOfId(picto._id)">
<img ngSrc="{{getImageUrlOfId(picto._id)}}" width="150" height="150" >
</button>
</mat-grid-tile>
</mat-grid-list>
</ng-container>
<mat-divider class="my-1"></mat-divider>
<span class="text-sm">{{ 'MODALS.PICTOGRAMS.TERMS_TEXT' | translate }}</span>
<br />
<img ngSrc="/assets/images/logo_ARASAAC.png" width="200" height="50"><br />
</mat-dialog-content>
<mat-dialog-actions>
<button mat-raised-button [mat-dialog-close]="true">
{{ 'MODALS.GENERAL.BUTTON_CLOSE' | translate }}
</button>

</mat-dialog-actions>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.my-1 {
margin: 1em 0 1em 0;
}

.text-sm {
font-size: small;
}
7 changes: 4 additions & 3 deletions teammapper-frontend/src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@
"BUTTON_RECONNECT": "Neu verbinden"
},
"PICTOGRAMS": {
"TITLE": "Piktogramme einfügen",
"CONTENT": "Füge Piktrogramme ein",
"TITLE": "Piktogramm einfügen",
"BUTTON_SEARCH": "Suchen",
"FORM_INPUT_LABEL_SEARCH": "Suchwort"
"FORM_INPUT_LABEL_SEARCH": "Suchwort",
"TERMS_TEXT": "Piktogramme von Sergio Palao (Urheber), ARASAAC (arasaac.org), Regierung von Aragón in Spanien (Eigentümer), CC BY-SA-NC 4.0",
"EMPTY": "Aktuell keine Ergebnisse"
},
"SHARE": {
"TITLE": "Map teilen",
Expand Down

0 comments on commit 69cf469

Please sign in to comment.