Issue 11725

Tab hoverover the wrong color on the occurrence verbatim view

11725
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.
http://localhost:8080/occurrence/1000000/verbatim

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:
http://localhost:8080/occurrence/1000000/verbatim
http://localhost:8080/occurrence/8712960
    


Author: mdoering@gbif.org
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:
http://localhost:8080/species/109812584/verbatim
http://localhost:8080/occurrence/8712960/verbatim

only use grey:
http://localhost:8080/species/109812584
http://localhost:8080/occurrence/8712960
http://localhost:8080/dataset/bf3db7c9-5e5d-4fd0-bd5b-94539eaf9598
http://localhost:8080/organization/1ce482ab-14e3-48f0-8b70-b58b14625902

Fixed in http://code.google.com/p/gbif-portal/source/detail?r=936