Bug 40756 - IntranetNav links have poor visibility/contrast
Summary: IntranetNav links have poor visibility/contrast
Status: RESOLVED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-04 15:28 UTC by Caroline Cyr La Rose
Modified: 2025-09-08 15:44 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact: Caroline Cyr La Rose
Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/1099
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2025-09-04 15:28:31 UTC
When you add a link to IntranetNav, it shows up as a green link on a black background. It's not great contrast.

To recreate :
1. Go to Administration > System preferences
2. Search for IntranetNav
3. Enter the following code in the system preference

<li><a href="http://localhost:8080/">OPAC</a></li>
<li><a href="https://example.com/">Example</a><li>

4. Click 'Save all Staff interface preferences"
5. Go to the main staff interface page
--> The links are green on black
--> They are also smushed together

It might be that I'm not using this system preference correctly, but there isn't any more information in the manual than in the system preference description. (I also tried without the li tags and it looks the same, I don't know that they are required.)

If it's a usage problem, please let me know the right way and I'll add it to the manual.
Comment 1 Laura Escamilla 2025-09-04 16:16:09 UTC
They need to be adjusted to fit the Bootstrap 5 changes. If you use the following it works!

<li class="nav-item">
  <a class="nav-link" href="http://localhost:8080/" target="_blank">OPAC</a>
</li>
<li class="nav-item">
  <a class="nav-link" href="https://example.com/" target="_blank">Example</a>
</li>
Comment 2 Caroline Cyr La Rose 2025-09-08 15:44:28 UTC
I edited the manual to include Laura's tip. https://gitlab.com/koha-community/koha-manual/-/merge_requests/1099

I assume that is enough?