Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themable Webcomponent header #271

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Themable Webcomponent header #271

merged 2 commits into from
Dec 19, 2023

Conversation

f-necas
Copy link
Collaborator

@f-necas f-necas commented Dec 15, 2023

Themable Webcomponent header

Main PR :

This PR adds missing 'logo-url' attribute and new 'stylesheet' attribute

@@ -69,7 +69,7 @@
and a facet search to get main site information.
-->
<body data-ng-controller="GnCatController" data-ng-class="[isHeaderFixed ? 'gn-header-fixed' : 'gn-header-relative', isLogoInHeader ? 'gn-logo-in-header' : 'gn-logo-in-navbar', isFooterEnabled ? 'gn-show-footer' : 'gn-hide-footer']">
<geor-header active-app="geonetwork" legacy-header="{$useLegacyHeader}" legacy-url="{$headerUrl}" style="width:100%;height:{$headerHeight}px;border:none;"></geor-header>
<geor-header active-app="geonetwork" legacy-header="{$useLegacyHeader}" legacy-url="{$headerUrl}" style="width:100%;height:{$headerHeight}px;border:none;" logo-url="${$logoUrl}" stylesheet="${$georchestraStylesheet}"></geor-header>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Watch out, there are some left over $ here, that break the urls.

@f-necas f-necas requested a review from tkohr December 18, 2023 21:29
Copy link
Contributor

@tkohr tkohr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now, thanks @f-necas !

@f-necas f-necas merged commit 81752f5 into georchestra-gn4.2.x Dec 19, 2023
1 check passed
@f-necas f-necas deleted the themable-header branch January 26, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants