Issue 15404

Messy listing of contacts on Country pages

15404
Reporter: anmnielsen
Type: Improvement
Summary: Messy listing of contacts on Country pages
Description: What are the criteria for listing people under 'Contacts' on the country pages? For example, on Germany's page - http://www.gbif.org/country/DE/participation - you first get the Head of delegation and then the Node Manager and lots of Nodes staff. Then at the bottom, you can see the other Additional staff. Logically, the Delegation should be listed together (Head of delegation and Additional delegates) and the Node Manager and Nodes staff should be together - as these are two different entities. 
Priority: Minor
Resolution: Fixed
Status: Resolved
Created: 2014-03-19 13:10:25.197
Updated: 2014-03-24 11:05:27.63
Resolved: 2014-03-24 11:05:27.607


Author: cvizitiu@gbif.org
Comment: [~mdoering@gbif.org] do you think this is rightfully assigned to me? 
Created: 2014-03-23 17:49:09.365
Updated: 2014-03-23 17:49:09.365


Author: mdoering@gbif.org
Created: 2014-03-24 11:01:07.409
Updated: 2014-03-24 11:01:07.409
        
No, Its a java issue so Im removing you, Cip.
[~anmnielsen], we have this order right now:

    ContactType.HEAD_OF_DELEGATION,
    ContactType.REGIONAL_NODE_REPRESENTATIVE,
    ContactType.NODE_MANAGER,
    ContactType.NODE_STAFF

The additional delegate type is not listed, so its gets appended at the bottom.
I will add it right after head of delegation and propose the following ordering:

  HEAD_OF_DELEGATION,
  TEMPORARY_HEAD_OF_DELEGATION,
  ADDITIONAL_DELEGATE,
  TEMPORARY_DELEGATE,

  REGIONAL_NODE_REPRESENTATIVE,

  NODE_MANAGER,
  NODE_STAFF;

    


Author: mdoering@gbif.org
Comment: https://github.com/gbif/portal-web/commit/cca07da9b6e751b6584d037a36c482f25d76d33f
Created: 2014-03-24 11:05:27.628
Updated: 2014-03-24 11:05:27.628