Bug 40756

Summary: IntranetNav links have poor visibility/contrast
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: RESOLVED WONTFIX QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, Laura.escamilla
Version: Main   
Hardware: All   
OS: All   
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:

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?