{attribute.uri}
{gettext('Catalog')}{': '} {catalog.title}
-
- {catalog.uri}
-
+ {catalog.uri}
+
{gettext('Option')}{': '} {option.text}
-
- {option.uri}
-
+ {option.uri}
+
{gettext('Page')}{': '} {page.title}
-
- {page.uri}
-
+ {page.uri}
+
+ {page.attribute_uri}
+
- {question.uri}
-
+ {question.uri}
+
+ {question.attribute_uri}
+
{gettext('Question set')}{': '} {questionset.title}
-
- {questionset.uri}
-
+ {questionset.uri}
+
+ {questionset.attribute_uri}
+
{gettext('Section')}{': '} {section.title}
-
- {section.uri}
-
+ {section.uri}
+
{task.uri}
- {task.uri}
+
)
diff --git a/rdmo/management/assets/js/components/element/View.js b/rdmo/management/assets/js/components/element/View.js
index 8fb101dc22..4e404189f7 100644
--- a/rdmo/management/assets/js/components/element/View.js
+++ b/rdmo/management/assets/js/components/element/View.js
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
import { filterElement } from '../../utils/filter'
-import { EditLink, AvailableLink, LockedLink, ExportLink } from '../common/ElementLinks'
+import { EditLink, AvailableLink, LockedLink, ExportLink } from '../common/Links'
const View = ({ config, view, elementActions, filter=null }) => {
diff --git a/rdmo/management/assets/js/components/elements/Attributes.js b/rdmo/management/assets/js/components/elements/Attributes.js
index 690617b901..3e8a04cec0 100644
--- a/rdmo/management/assets/js/components/elements/Attributes.js
+++ b/rdmo/management/assets/js/components/elements/Attributes.js
@@ -7,13 +7,12 @@ import FilterUri from '../FilterUri'
import FilterUriPrefix from '../FilterUriPrefix'
import Attribute from '../element/Attribute'
-import { BackButton, NewButton } from '../common/ElementButtons'
+import { BackButton, NewButton } from '../common/Buttons'
const Attributes = ({ config, attributes, configActions, elementActions }) => {
- const updateFilterUri = (uri) => configActions.updateConfig('filter.attributes.uri', uri)
- const updateFilterUriPrefix = (uriPrefix) => configActions.updateConfig('filter.attributes.uriPrefix', uriPrefix)
-
+ const updateFilterUri = (value) => configActions.updateConfig('filter.attributes.uri', value)
+ const updateFilterUriPrefix = (value) => configActions.updateConfig('filter.attributes.uriPrefix', value)
const createAttribute = () => elementActions.createElement('attributes')
return (
diff --git a/rdmo/management/assets/js/components/elements/Catalogs.js b/rdmo/management/assets/js/components/elements/Catalogs.js
index 5c22c46651..cf37d4d7bb 100644
--- a/rdmo/management/assets/js/components/elements/Catalogs.js
+++ b/rdmo/management/assets/js/components/elements/Catalogs.js
@@ -7,12 +7,14 @@ import FilterUri from '../FilterUri'
import FilterUriPrefix from '../FilterUriPrefix'
import Catalog from '../element/Catalog'
-import { BackButton, NewButton } from '../common/ElementButtons'
+import { Checkbox } from '../common/Checkboxes'
+import { BackButton, NewButton } from '../common/Buttons'
const Catalogs = ({ config, catalogs, configActions, elementActions }) => {
- const updateFilterUri = (uri) => configActions.updateConfig('filter.catalogs.uri', uri)
- const updateFilterUriPrefix = (uriPrefix) => configActions.updateConfig('filter.catalogs.uriPrefix', uriPrefix)
+ const updateFilterUri = (value) => configActions.updateConfig('filter.catalogs.uri', value)
+ const updateFilterUriPrefix = (value) => configActions.updateConfig('filter.catalogs.uriPrefix', value)
+ const updateDisplayURI = (value) => configActions.updateConfig('display.uri.catalogs', value)
const createCatalog = () => elementActions.createElement('catalogs')
@@ -37,13 +39,18 @@ const Catalogs = ({ config, catalogs, configActions, elementActions }) => {
options={getUriPrefixes(catalogs)} />
+ {gettext('You are about to permanently delete the attribute:')}
@@ -15,7 +15,7 @@ const DeleteAttributeModal = ({ attribute, info, show, onClose, onDelete }) => ({gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the catalog:')}
@@ -15,7 +15,7 @@ const DeleteCatalogModal = ({ catalog, info, show, onClose, onDelete }) => ({gettext('Those projects will not be usable afterwards.')} {gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the condition:')}
@@ -15,7 +15,7 @@ const DeleteConditionModal = ({ condition, info, show, onClose, onDelete }) => ({gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the option:')}
@@ -15,7 +15,7 @@ const DeleteOptionModal = ({ option, info, show, onClose, onDelete }) => ({gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the option set:')}
@@ -15,7 +15,7 @@ const DeleteOptionSetModal = ({ optionset, info, show, onClose, onDelete }) => ({gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the page:')}
@@ -15,7 +15,7 @@ const DeletePageModal = ({ page, info, show, onClose, onDelete }) => ({gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the question:')}
@@ -15,7 +15,7 @@ const DeleteQuestionModal = ({ question, info, show, onClose, onDelete }) => ({gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the question set:')}
@@ -15,7 +15,7 @@ const DeleteQuestionSetModal = ({ questionset, info, show, onClose, onDelete }){gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the section:')}
@@ -15,7 +15,7 @@ const DeleteSectionModal = ({ section, info, show, onClose, onDelete }) => ({gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the task:')}
@@ -15,7 +15,7 @@ const DeleteTaskModal = ({ task, info, show, onClose, onDelete }) => ({gettext('The task will be removed from these projects.')} {gettext('This action cannot be undone!')}
-{gettext('You are about to permanently delete the view:')}
@@ -15,7 +15,7 @@ const DeleteViewModal = ({ view, info, show, onClose, onDelete }) => ({gettext('The view will be removed from these projects.')} {gettext('This action cannot be undone!')}
-