Skip to content

Commit

Permalink
Bug 1939789 - Add icon next to the 'Cookies' choice in the user drop …
Browse files Browse the repository at this point in the history
…down to be consistent with other menu choices
  • Loading branch information
dklawren authored Jan 4, 2025
1 parent 34c4020 commit 82dc0f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qa/t/1_test_cookie_consent.t
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ok($last_order_cookie, 'Last order cookie set properly');

# Change cookie preferences to reject
$sel->click_ok('header-account-menu-button');
$sel->click_ok('link=Cookies');
$sel->click_ok('//a[./span[@data-icon="cookie"]]');
$sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is('Cookie Settings');
$sel->click_ok('cookie-radio-preference-no');
Expand Down
7 changes: 5 additions & 2 deletions template/en/default/global/header.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,11 @@
</a>
</li>
[% IF Param('cookie_consent_enabled') && Bugzilla.cgi.cookie_consent_required %]
<li role="presentation">
<a href="[% basepath FILTER none %]page.cgi?id=cookies.html" role="menuitem" tabindex="-1">Cookies</a>
<li role="none">
<a href="[% basepath FILTER none %]page.cgi?id=cookies.html" role="menuitem">
<span class="icon" aria-hidden="true" data-icon="cookie"></span>
<span class="label" role="none">Cookies</span>
</a>
</li>
[% END %]
<li role="separator"></li>
Expand Down

0 comments on commit 82dc0f3

Please sign in to comment.