diff --git a/src/app/dataset-detail/components/dataset-api/resources-queryable/resource-queryable/resource-queryable.component.html b/src/app/dataset-detail/components/dataset-api/resources-queryable/resource-queryable/resource-queryable.component.html index 0cc6239f387bab0763b69f41a5ee52fe60b94918..b4090f1b9ae5459e53d39a55c175fb2a663ee3e9 100644 --- a/src/app/dataset-detail/components/dataset-api/resources-queryable/resource-queryable/resource-queryable.component.html +++ b/src/app/dataset-detail/components/dataset-api/resources-queryable/resource-queryable/resource-queryable.component.html @@ -139,7 +139,7 @@ </div> <div class="dropdown-menu" id="dropdown-menu" role="menu"> <div class="dropdown-content"> - <a class="dropdown-item" (click)="setInsee(null)" i18n="@@global.all.feminine">All</a> + <a class="dropdown-item" (click)="setInsee(null)" i18n="@@global.all.commune">All</a> <a class="dropdown-item" *ngFor="let zone of communeInseeList" (click)="setInsee(zone)"> {{ zone.commune }} - {{ zone.insee }} </a> diff --git a/src/app/dataset-detail/components/dataset-downloads/resource-download-item/resource-download-item/resource-download-item.component.html b/src/app/dataset-detail/components/dataset-downloads/resource-download-item/resource-download-item/resource-download-item.component.html index 0e2575e1659b3f27aad49c5a781c4883a7603a92..0267c2aad187a504204c987e332a962e42bab313 100644 --- a/src/app/dataset-detail/components/dataset-downloads/resource-download-item/resource-download-item/resource-download-item.component.html +++ b/src/app/dataset-detail/components/dataset-downloads/resource-download-item/resource-download-item/resource-download-item.component.html @@ -9,22 +9,18 @@ <span>{{isQueryable ? resource.metadataLink.name + '.' + format.fileExtension : link.name }} </span> </div> - <div class="resource-options is-hidden-mobile" *ngIf="format && format.isCuttable"> + <div class="resource-options is-hidden-mobile" *ngIf="format && format.isProjectable"> <div> <span *ngIf="this.selectedProjection"> {{this.selectedProjection.name}} </span> </div> - <div *ngIf="this.selectedInsee"> + <div *ngIf="format && format.isCuttable && inseeLabel"> <span> - </span> - <span>{{ this.selectedInsee.commune }}</span> - </div> - - <div *ngIf="! this.selectedInsee && format.isCuttable"> - <span> - </span> - <span i18n="@@dataset.resources.allcommune"> - All the municipalities - </span> + <span *ngIf="selectedInsee">{{ this.selectedInsee.commune }}</span> + <span i18n="@@dataset.resources.allcommune" *ngIf="! selectedInsee"> + All the municipalities + </span> </div> </div> </div> diff --git a/src/i18n/messages.en.xlf b/src/i18n/messages.en.xlf index 5ee997b37545cce954a79edfede2c2941bae39cf..117f148014631e02a27e6f475dd954d1abe352da 100644 --- a/src/i18n/messages.en.xlf +++ b/src/i18n/messages.en.xlf @@ -221,7 +221,7 @@ <source>Information</source> <target>Information</target> </trans-unit> - <trans-unit id="global.all.feminine" datatype="html"> + <trans-unit id="global.all.commune" datatype="html"> <source>All</source> <target>All</target> </trans-unit> diff --git a/src/i18n/messages.fr.xlf b/src/i18n/messages.fr.xlf index b0c1e7ba240b4b543cb8197f6cacf1df46cfd187..6034b7fa2655a7f5600823e0aa6ab774702fa0cc 100644 --- a/src/i18n/messages.fr.xlf +++ b/src/i18n/messages.fr.xlf @@ -221,7 +221,7 @@ <source>Information</source> <target>Informations</target> </trans-unit> - <trans-unit id="global.all.feminine" datatype="html"> + <trans-unit id="global.all.commune" datatype="html"> <source>All</source> <target>Toutes</target> </trans-unit>