Skip to content

Improve code GPDS

  • Factorize popover templates for institutes (use parameters ?).
  • Use width: 100% instead of max-width: 100% on .popover ? (check if it work correctly everywhere)
  • Simplify code https://forgemia.inra.fr/urgi-is/gpds/merge_requests/14#note_7655.
  • Pipe to format from number to string coordinate
  • Factorize style card (for link)?
  • @guillaume.cornut Add tests for card-section, card-row and card-table that can also be used as documentation (all possible ways to use them)
  • Extract photos and logos URL in indexes
  • Remove scroll bar in xref table (exemple: https://urgi.versailles.inra.fr/gpds/germplasm?id=ZG9pOjEwLjE1NDU0LzEuNDkyMTc4NjkxMzU3MDE3OEUxMg%3D%3D)
  • Add full source name in navbar (exemple: CIRAD TropGENE instead of CIRAD)
  • Resize map on cards (to be able to see a little more the identification part).
  • If possible, add an option to show a bigger map.
  • Rename "Data source" depending on the current card and set full source name ("Link to this [thematic] in [source]")
  • Improve display of external link on result page (change the text and/or pur it beside the object name ?)
  • Try to see why IBET and VIB logo are not displayed on cards
  • Renamer "Collecting" section in "Collector", "Holding" section in "Depositary"
  • Move "Origin site" at the end of the "Identification" section
  • Replace link below the photo by its copyright with a link style
  • On result page, replace Results : by Results:
  • For emails, replace "@" by " at "
  • For panel names, replace all "_" by " "
  • Add an "_blank" in xrefs links as it should be opened in a new window (external links)
Edited by Célia Michotey
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information