Issue 13798

Why show the occurrence button when non exist?

13798
Reporter: trobertson
Assignee: fmendez
Type: Improvement
Summary: Why show the occurrence button when non exist?
Priority: Major
Resolution: Fixed
Status: Resolved
Created: 2013-09-08 19:52:51.703
Updated: 2015-03-21 00:17:54.655
Resolved: 2015-03-21 00:17:54.632
TimeOriginalEstimate: 60
TimeEstimate: 60
        
        
Description: http://portaldev.gbif.org/species/4825783

0 occurrences exist, but a button is available to "view occurrences".

[~mdoering] To me this seems unintuitive - what do you think?  Remove it?]]>
    

Attachment Screen Shot 2015-03-13 at 16.48.51.png



Author: ahahn@gbif.org
Comment: +1 for removing it or changing the format (grey, inactive?) if no data are available
Created: 2013-09-09 16:23:25.532
Updated: 2013-09-09 16:24:27.797


Author: fmendez@gbif.org
Comment: https://github.com/gbif/portal-web/commit/5019d25788810bfc332f8dc52bd32a755807c9cb
Created: 2015-03-02 21:23:04.431
Updated: 2015-03-02 21:23:04.431


Author: mdoering@gbif.org
Created: 2015-03-13 16:48:20.626
Updated: 2015-03-13 16:51:16.626
        
[~bko@gbif.org], [~fmendez@gbif.org], [~kylecopas]
The very white box without the blue button looks pretty unsexy now, see attached screenshot.
Should we rather use a grey button without a link or shrink the box?
http://www.gbif-uat.org/species/1357250

Maybe also consider how we should handle the related issue for hybrid checklist datasets that also contain occurrences POR-2162
    


Author: mdoering@gbif.org
Created: 2015-03-13 16:54:39.213
Updated: 2015-03-13 16:54:39.213
        
Plus should we remove the box completely in case there are no species nor occurrences?
We show no box for similar non backbone taxa: http://www.gbif.org/species/111083059
    


Author: bko@gbif.org
Comment: I would suggest making a grey, non-clickable box so visitors know there is this download feature, but seeing the zero count, it's obviously to them why they cannot click it.
Created: 2015-03-13 17:16:56.516
Updated: 2015-03-13 17:16:56.516


Author: fmendez@gbif.org
Created: 2015-03-21 00:17:54.652
Updated: 2015-03-21 00:17:54.652
        
box height was reduced when the occurrences link is not shown

[~mdoering@gbif.org] please review this commit, I've applied a mixin to change the box style: https://github.com/gbif/portal-web/commit/059661f8e2b718a5fa210c6875ade43d26e0e296