geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
423 stars 489 forks source link

Improve metadata editor validation counters #4071

Open josegar74 opened 5 years ago

josegar74 commented 5 years ago

Currently the counters in the validation panel are not very clear

For example for ISO Rules, 14/20 seem means that from the 20 rules in that validation set, 14 pass.

validation-panel

I think would be more clear to show the number of failing rules instead, as seem more relevant for the user.

Something like 6 failing rules of 20

fxprunayre commented 5 years ago

Maybe a badge with x% of green and the rest in red would make more sense too. @MichelGabriel any CSS to do this kind of stuff ?

MichelGabriel commented 5 years ago

Yes, with a bit of HTML and CSS this can be done.

With class label label-success for green and label label-danger for the red badge.