Issue 11725

Tab hoverover the wrong color on the occurrence verbatim view

Reporter: trobertson
Assignee: trobertson
Type: Bug
Summary: Tab hoverover the wrong color on the occurrence verbatim view
Priority: Minor
Resolution: Fixed
Status: Closed
Created: 2012-08-23 18:06:59.991
Updated: 2013-08-29 14:44:23.293
Resolved: 2012-08-27 16:21:44.652
Description: E.g.

The color of the tab is yellow in this, but the hover over for the unselected tabs is grey

The class of this is set on the occurrence/inc/infoband.ftl and also on the occurrence/verbatim.ftl where it sets the variable.

Author: javierarce
Comment: Fixed. I've added a new class for the list (ul.highligthed) to handle this situations.
Created: 2012-08-24 18:01:16.265
Updated: 2012-08-24 18:01:16.265

Author: javierarce
Created: 2012-08-24 18:07:05.306
Updated: 2012-08-24 18:07:05.306
My bad, the ocurrence pages share the same infoband.ftl template, so fixing the problem for one case breaks it for another.

Tim, since this require adding some conditionals to the .ftl, I'm afraid you'll have to look at this issue.

Author: javierarce
Created: 2012-08-24 18:08:33.964
Updated: 2012-08-24 18:23:04.07
As I explained before we must add a class to the ul. So if the whole navigation list is highligthed and there's a link to the "regular view" below, the ul should have the class "highligthed".

After the fix these two page should work fine:

Created: 2012-08-27 16:21:38.327
Updated: 2012-08-27 16:21:38.327
Ok, Ive updated the infoband include of both the occurrences and species pages.
These are the ones with the verbatim view only, all others should be in grey only.

only use yellow:

only use grey:

Fixed in