+ // get index from guiAttr array where value starts with hlist=
+ const i = this.guiAttributes.findIndex(element => element.includes('hlist'));
+ // find content between pointy brackets to get list iri
+ const re = /\<([^)]+)\>/;
+ const listIri = this.guiAttributes[i].match(re)[1];
+
+ this.propertyForm.controls['guiAttr'].setValue(listIri);
+ break;
+
+ // prop type is resource pointer: link to or part of
+ case Constants.LinkValue:
+ this.showGuiAttr = true;
+ this.propertyForm.controls['guiAttr'].setValue(this.propertyInfo.propDef.objectType);
+ break;
+
+ default:
+ this.showGuiAttr = false;
+ }
+ } else {
+ this.showGuiAttr = false;
}
+
} else {
// depending on the selected property type,
// we have to define gui element attributes
diff --git a/src/app/project/ontology/property-info/property-info.component.html b/src/app/project/ontology/property-info/property-info.component.html
index 45cec8d31f..2d7265bfe7 100644
--- a/src/app/project/ontology/property-info/property-info.component.html
+++ b/src/app/project/ontology/property-info/property-info.component.html
@@ -20,7 +20,7 @@
-
+
{{propDef.id | split: '#':1}}
·
diff --git a/src/app/project/ontology/resource-class-info/resource-class-info.component.html b/src/app/project/ontology/resource-class-info/resource-class-info.component.html
index c5490ed313..39dc1827cd 100644
--- a/src/app/project/ontology/resource-class-info/resource-class-info.component.html
+++ b/src/app/project/ontology/resource-class-info/resource-class-info.component.html
@@ -7,7 +7,7 @@
{{resourceClass.label | appTruncate: 24}}
-
+
{{resourceClass.id | split: '#':1}}
·
diff --git a/src/assets/style/_elements.scss b/src/assets/style/_elements.scss
index 7dcc6cc61a..1d2e58c35f 100644
--- a/src/assets/style/_elements.scss
+++ b/src/assets/style/_elements.scss
@@ -769,6 +769,10 @@ $gc-small: $form-width - $gc-large - 4;
font-size: 11px;
}
+.wide-tooltip {
+ max-width: unset !important;
+}
+
.annotation-tooltip {
p {