ode-csslib-openent 3.4.27-develop-integration-demo.202611241458 → 3.4.27-develop-b2school.202611241500
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/portal-v2.html
CHANGED
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
|
|
134
134
|
<li class="nav-item position-relative" id="header-notifications-menu">
|
|
135
135
|
<button type="button" class="nav-link btn btn-naked notification-button" aria-label="notifications"
|
|
136
|
-
aria-haspopup="true" aria-expanded="
|
|
136
|
+
aria-haspopup="true" aria-expanded="[[notificationsOpen ? 'true' : 'false']]" ng-click="notificationsOpen = !notificationsOpen">
|
|
137
137
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
138
138
|
<g>
|
|
139
139
|
<path d="M12.0156 0.5C13.5699 0.500121 14.8476 1.6603 15.0352 3.16309C18.3963 4.35527 20.8074 7.56407 20.8076 11.3311V13.1758H22.4639V20.1865H15.9424C15.6424 22.0648 14.0166 23.4998 12.0537 23.5C10.0906 23.5 8.46401 22.065 8.16406 20.1865H2.04395V13.1758H3.47754V11.3311C3.47773 7.66463 5.76249 4.52882 8.9834 3.26465C9.12479 1.71674 10.4255 0.50006 12.0156 0.5ZM10.2178 20.1865C10.4783 20.9505 11.2013 21.5 12.0537 21.5C12.9058 21.4998 13.6273 20.9502 13.8877 20.1865H10.2178ZM4.04297 15.1768V18.1865H20.4639V15.1768H4.04297ZM12.1426 4.66602C8.466 4.6662 5.47779 7.65449 5.47754 11.3311V13.1758H18.8076V11.3311C18.8074 7.65448 15.8192 4.66618 12.1426 4.66602Z" fill="currentColor"/>
|
|
@@ -170,9 +170,13 @@
|
|
|
170
170
|
</div>
|
|
171
171
|
</li>
|
|
172
172
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
<!-- Opens on click (all breakpoints, so it works on touch devices) and on hover (desktop);
|
|
174
|
+
the trigger never navigates, "Mon compte" is the first entry of the popover. -->
|
|
175
|
+
<li class="nav-item position-relative popover-trigger" id="header-user-menu" aria-haspopup="true"
|
|
176
|
+
aria-expanded="[[userMenuOpen ? 'true' : 'false']]" ng-class="{ 'is-open': userMenuOpen }"
|
|
177
|
+
ng-mouseleave="userMenuOpen = false" data-testid="header-user-menu-button">
|
|
178
|
+
<a href="/userbook/mon-compte" i18n-title="navbar.myaccount" class="nav-link" data-testid="header-user-profile-button"
|
|
179
|
+
ng-click="$event.preventDefault(); userMenuOpen = !userMenuOpen">
|
|
176
180
|
<div class="avatar avatar-sm rounded-circle bg-white">
|
|
177
181
|
<img data-ng-src="[[avatar ? avatar+'?thumbnail=48x48' : '']]" id="my-photo" alt="[[avatar.username]]" />
|
|
178
182
|
</div>
|