moved info properties to the into tab.

This commit is contained in:
Niels Lyngsø
2019-11-22 14:53:15 +01:00
parent e83589a024
commit b9104dfaf8
3 changed files with 10 additions and 18 deletions

View File

@@ -24,10 +24,6 @@ function DataTypeEditController($scope, $routeParams, appState, navigationServic
alias: "selectedEditor",
description: "Select a property editor",
label: "Property editor"
},
selectedEditorId: {
alias: "selectedEditorId",
label: "Property editor alias"
}
};
@@ -221,7 +217,7 @@ function DataTypeEditController($scope, $routeParams, appState, navigationServic
{
"name": values[1],
"alias": "info",
"icon": "icon-molecular-network",
"icon": "icon-info",
"view": "views/datatypes/views/datatype.info.html"
}
];

View File

@@ -21,7 +21,7 @@
<!-- Document Types -->
<div ng-if="vm.references.documentTypes.length > 0">
<div ng-if="vm.references.documentTypes.length > 0" class="mb4">
<h5 class="mt0" style="margin-bottom: 20px;">
<localize key="references_labelUsedByDocumentTypes"></localize>
@@ -51,7 +51,7 @@
<!-- Media Types -->
<div ng-if="vm.references.mediaTypes.length > 0">
<div ng-if="vm.references.mediaTypes.length > 0" class="mb4">
<h5 class="mt0" style="margin-bottom: 20px;">
<localize key="references_labelUsedByMediaTypes"></localize>
@@ -77,11 +77,12 @@
</div>
</div>
</div>
</div>
<!-- Member Types -->
<div ng-if="vm.references.memberTypes.length > 0">
<div ng-if="vm.references.memberTypes.length > 0" class="mb4">
<h5 class="mt0" style="margin-bottom: 20px;">
<localize key="references_labelUsedByMemberTypes"></localize>
@@ -125,6 +126,10 @@
<small>{{model.content.key}}</small>
</umb-control-group>
<umb-control-group label="Property Editor Alias" ng-if="model.content.selectedEditor">
<div>{{model.content.selectedEditor}}</div>
</umb-control-group>
</umb-box-content>
</umb-box>
</div>

View File

@@ -2,11 +2,6 @@
<umb-box-content>
<umb-control-group label="Id" ng-if="model.showIdentifier">
<div>{{model.content.id}}</div>
<small>{{model.content.key}}</small>
</umb-control-group>
<umb-property property="model.properties.selectedEditor">
<div>
<select name="selectedEditor"
@@ -20,10 +15,6 @@
</umb-property>
<umb-property property="model.properties.selectedEditorId">
<div>{{model.content.selectedEditor}}</div>
</umb-property>
<umb-property property="preValue"
ng-repeat="preValue in model.preValues">
<umb-property-editor model="preValue" is-pre-value="true"></umb-property-editor>
@@ -31,4 +22,4 @@
</umb-box-content>
</umb-box>
</umb-box>