Skip to content

Commit

Permalink
ajout filtre organization
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebarros committed Sep 30, 2024
1 parent 3f2739f commit b85e6b1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
11 changes: 6 additions & 5 deletions apps/datahub/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@ gn-ui-autocomplete .gn-ui-text-input {
@apply focus:outline-white focus:outline-2 focus:outline-dotted focus:outline-offset-2 shadow-xl focus:shadow-[0_0_24px_0_rgba(21,40,184,0.09)];
}

gn-ui-related-record-card>a[href]:hover {
gn-ui-related-record-card > a[href]:hover {
background-color: white !important;
}

gn-ui-navigation-button>button:not(:disabled):hover,
gn-ui-button>button:hover.bg-secondary {
gn-ui-navigation-button > button:not(:disabled):hover,
gn-ui-button > button:hover.bg-secondary {
background-color: rgba(0, 0, 145, 0.5) !important;
}

[target='_blank']:not(.fr-footer__bottom-link, .fr-footer__content-link, edu-item-link > .fr-btn)::after {
[target='_blank']:not(.fr-footer__bottom-link, .fr-footer__content-link, edu-item-link
> .fr-btn)::after {
content: none;
}

Expand All @@ -67,4 +68,4 @@ h2.font-title {

a:not(.fr-footer__bottom-link, .fr-footer__content-link) {
background-image: none !important;
}
}
6 changes: 4 additions & 2 deletions conf/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ favicon = "/catalogue/assets/img/favicon.ico"
# The advanced search filters available to the user can be customized with this setting.
# The following fields can be used for filtering: 'organization', 'format', 'publicationYear', 'standard', 'inspireKeyword', 'keyword', 'topic', 'isSpatial', 'license', 'resourceType', 'representationType', 'producerOrg', 'publisherOrg'
# any other field will be ignored
advanced_filters = ['publisher', 'topic', 'resourceType', 'publicationYear', 'format', 'inspireKeyword', 'isSpatial', 'license']
advanced_filters = ['topic', 'resourceType', 'publicationYear', 'format', 'inspireKeyword', 'isSpatial', 'license', 'organization']

# One or several search presets can be defined here; every search preset is composed of:
# - a name (which can be a translation key)
Expand Down Expand Up @@ -196,4 +196,6 @@ name = 'GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2'
[translations.fr]
search.filters.title= "Affiner votre recherche"
datahub.header.title.html="<div>Catalogue de données et de services</div>"
datahub.header.datasets="Données et services"
datahub.header.datasets="Données et services"
ogc.unreachable.unknown="Le flux n'est pas accessible ou est à accès restreint"
wfs.unreachable.unknown="Le service n'est pas accessible ou est à accès restreint"
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export class DropdownSelectorComponent implements OnInit {
if (!this.choices || this.choices.length === 0) {
this.choices = []
}
console.log('un nv test', this.focusFirstItem())
}

isSelected(choice: DropdownChoice) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@
"rxjs": "^7.4.0"
}
}
}
}

0 comments on commit b85e6b1

Please sign in to comment.