Skip to content

Commit

Permalink
(chore): format:write
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Jul 17, 2023
1 parent e42ba8c commit 380202f
Showing 1 changed file with 23 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
<a href="{{ link.url }}" target="_blank" class="group flex justify-between card-shadow px-6 py-5 cursor-pointer"
rel="noopener">
<a
href="{{ link.url }}"
target="_blank"
class="group flex justify-between card-shadow px-6 py-5 cursor-pointer"
rel="noopener"
>
<div class="grow-1 w-full overflow-hidden">
<div class="text-21 text-black truncate font-title w-11/12" [title]="link.label">
<div
class="text-21 text-black truncate font-title w-11/12"
[title]="link.label"
>
{{ link.label }}
</div>
<div class="pt-1">
<span
class="inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100"
[style.background-color]="color" data-cy="download-format">{{ format || ('downloads.format.unknown' | translate)
}}</span>
<span class="pl-2 inline-flex items-center text-gray-800 text-sm" *ngIf="isFromWfs"
translate="">datahub.search.filter.generatedByWfs</span>
[style.background-color]="color"
data-cy="download-format"
>{{ format || ('downloads.format.unknown' | translate) }}</span
>
<span
class="pl-2 inline-flex items-center text-gray-800 text-sm"
*ngIf="isFromWfs"
translate=""
>datahub.search.filter.generatedByWfs</span
>
</div>
</div>
<div class="shrink-1 w-12 flex flex-col justify-center">
<mat-icon
class="!w-8 !h-8 align-middle group-hover:text-secondary text-3xl material-icons-outlined text-gray-200 mr-4 transition-colors">
class="!w-8 !h-8 align-middle group-hover:text-secondary text-3xl material-icons-outlined text-gray-200 mr-4 transition-colors"
>
cloud_download
</mat-icon>
</div>
</a>
</a>

0 comments on commit 380202f

Please sign in to comment.