geonetwork / geonetwork/core-geonetwork

Use gn-checkbox-with-nilreason angularjs directive for Conformity pass element in simple view when INSPIRE is enabled

Open
#2,437 4 comments 0 reactions 0 assignees View on GitHub
enhancement stale
Dominant language
Java
Stars
521
Forks
514
Avg merge
6d 13h
Merged PRs (30d)
19

Description

Currently the INSPIRE view uses a template for Conformity pass (gmd:pass/gco:Boolean) element that uses the AngularJs `gn-checkbox-with-nilreason` directive. This directive allows to define 3 states:

![conformity-inspire-view](https://user-images.githubusercontent.com/1695003/34044187-4e11771e-e1a4-11e7-886d-5705e7155ea9.png)

When using the default/full view it's displayed as a checkbox as using this configuration:

```

```

At least if INSPIRE setting is enabled, would be nice to use the same directive in the other views. Not sure if makes sense for other boolean fields or outside the INSPIRE directive.

What do you think @fxprunayre?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.