Commit 77b81c59 authored by RenanMontenegro3's avatar RenanMontenegro3

feat:"alteração em aceite + black-list+navios"

parent abd4d7d1
......@@ -144,11 +144,11 @@
{{ getErrorMessage('restricoes') }}
</mat-error>
</mat-form-field>
</div>
<div class="row file-upload-container">
<ng-container *ngIf="data?.path">
<mat-card-actions>
<button mat-flat-button color="primary" (click)="downloadNavioFunction()">
<button mat-flat-button color="primary" type="button" (click)="downloadNavioFunction()">
<mat-icon>download</mat-icon>
Download Documento Q88
</button>
......@@ -156,7 +156,6 @@
</ng-container>
</div>
</div>
</div>
<!-- Ações do Diálogo -->
<div mat-dialog-actions class="action">
......
......@@ -46,15 +46,6 @@
<td mat-cell *matCellDef="let row">{{ row.data_create || "Null" }}</td>
</ng-container>
<ng-container matColumnDef="data_update">
<th mat-header-cell *matHeaderCellDef>Data de Edição</th>
<td mat-cell *matCellDef="let row">{{ row.data_update || "Null" }}</td>
</ng-container>
<ng-container matColumnDef="dataAccept">
<th mat-header-cell *matHeaderCellDef>Data de Edição</th>
<td mat-cell *matCellDef="let row">{{ row.dataAccept || "Null" }}</td>
</ng-container>
<ng-container matColumnDef="status">
<th mat-header-cell *matHeaderCellDef>Status</th>
......
......@@ -67,9 +67,7 @@ export class AceitesComponent implements OnInit {
'user',
'imo',
'data_create',
'data_update',
'dataAccept',
'status',
'status',
'action',
];
......
......@@ -46,11 +46,11 @@
<ng-container matColumnDef="flag">
<th mat-header-cell *matHeaderCellDef>Flag</th>
<td mat-cell *matCellDef="let row">
<ng-container *ngIf="countries[+row.flag]; else flagNotAvailable">
<img [src]="countries[+row.flag].flagUrl" width="20" height="15"
alt="{{ countries[+row.flag].name }} flag"
<ng-container *ngIf="countries[row.flag - 1]; else flagNotAvailable">
<img [src]="countries[row.flag - 1].flagUrl" width="20" height="15"
alt="{{ countries[row.flag - 1].name }} flag"
style="margin-right: 8px" />
<span>{{ countries[+row.flag]?.name }}</span>
<span>{{ countries[row.flag - 1]?.name }}</span>
</ng-container>
<ng-template #flagNotAvailable>Não informado</ng-template>
</td>
......
......@@ -50,9 +50,9 @@
</div>
<div class="column" style="flex: 1 1 30%; margin-bottom: 10px;">
<p><strong>Flag:</strong>
<ng-container *ngIf="countries[+navioInfo.flag]; else flagNotAvailable">
<img [src]="countries[+navioInfo.flag].flagUrl" width="20" height="15" alt="{{ countries[+navioInfo.flag].name }} flag" style="margin-right: 8px" />
<span>{{ countries[+navioInfo.flag]?.name }}</span>
<ng-container *ngIf="countries[navioInfo.flag - 1]; else flagNotAvailable">
<img [src]="countries[navioInfo.flag - 1].flagUrl" width="20" height="15" alt="{{ countries[navioInfo.flag - 1].name }} flag" style="margin-right: 8px" />
<span>{{ countries[navioInfo.flag - 1]?.name }}</span>
</ng-container>
<ng-template #flagNotAvailable>Não informado</ng-template>
</p>
......
......@@ -133,7 +133,7 @@
</div>
<ng-container *ngIf="data?.path">
<mat-card-actions>
<button mat-flat-button color="primary" (click)="downloadNavioFunction()">
<button mat-flat-button color="primary" type="button" (click)="downloadNavioFunction()">
<mat-icon>download</mat-icon>
Download Documento Q88
</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment