Apply suggestions from code review

Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
This commit is contained in:
Thorsten Scherler 2025-07-29 19:41:37 +02:00 committed by GitHub
parent dd9ca8b1ed
commit 6f5b1a477e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -71,18 +71,18 @@ THE SOFTWARE.
<j:otherwise>
<j:choose>
<j:when test="${shouldShowTitle}">
<a aria-label="path element" tooltip="${attrs.title}" href="${attrs.href}">
<a tooltip="${attrs.title}" href="${attrs.href}">
${attrs.title}
</a>
</j:when>
<j:otherwise>
<a aria-label="path element" href="${attrs.href}">
<a href="${attrs.href}">
${attrs.title}
</a>
</j:otherwise>
</j:choose>
<j:if test="${attrs.hasMenu or attrs.hasChildrenMenu}">
<div aria-label="dropdown menu for path" data-iscurrent="${isCurrent}" data-href="${attrs.href}" data-base="${baseUrl}" tabindex="0" class="dropdown-indicator" data-model="${attrs.hasMenu}" data-children="${attrs.hasChildrenMenu}" >
<div aria-label="dropdown menu for ${attrs.title}" data-iscurrent="${isCurrent}" data-href="${attrs.href}" data-base="${baseUrl}" tabindex="0" class="dropdown-indicator" data-model="${attrs.hasMenu}" data-children="${attrs.hasChildrenMenu}" >
<l:icon class="icon-sm jenkins-!-text-color-secondary" src="symbol-chevron-down" />
</div>
</j:if>