Skip to content

Commit

Permalink
Re-label clonable fields collection as "metadata" (CFM-218)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Oct 29, 2025
1 parent 3cae121 commit 0618b10
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 14 deletions.
6 changes: 3 additions & 3 deletions app/resources/locales/en_US/field.po
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ msgstr "Revision"
msgid "children"
msgstr "Children"

msgid "cloning"
msgstr "Cloning"

msgid "code"
msgstr "Code"

Expand Down Expand Up @@ -215,6 +212,9 @@ msgstr "Manager"
msgid "manager_identifier"
msgstr "Manager Identifier"

msgid "metadata"
msgstr "Metadata"

msgid "middle"
msgstr "Middle"

Expand Down
2 changes: 1 addition & 1 deletion app/templates/ApiUsers/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ $fields = [
'privileged', // boolean
];

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));
2 changes: 1 addition & 1 deletion app/templates/Cous/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ if(!empty($parents)) {
];
}

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));
2 changes: 1 addition & 1 deletion app/templates/ExternalIdentitySources/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $fields = [
'suppress_noop_logs'
];

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));

// Top Links
$topLinks = [
Expand Down
2 changes: 1 addition & 1 deletion app/templates/Groups/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if($vv_action != 'add') {
}
}

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));

// List the MVEAs that may be shown on the mveaCanvas
// When this array exists, the mveaCanvas.php element will render
Expand Down
2 changes: 1 addition & 1 deletion app/templates/IdentifierAssignments/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $fields = [
'ordr'
];

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));
?>

<script>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/Pipelines/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $fields = [
// XXX Connections
];

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));

// Top Links
$topLinks[] = [
Expand Down
2 changes: 1 addition & 1 deletion app/templates/ProvisioningTargets/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $fields = [
'ordr'
];

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));

$subnav = [
'name' => 'plugin',
Expand Down
2 changes: 1 addition & 1 deletion app/templates/Servers/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ $fields = [
]
];

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
*/

return [
'clonable' => [
'fieldLabel' => __d('field','cloning'),
'metadata' => [
'fieldLabel' => __d('field','metadata'),
'labelIsTextOnly' => true,
'groupedControls' => [
'uuid' => [
Expand Down
2 changes: 1 addition & 1 deletion app/templates/Types/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $fields = [
'edupersonaffiliation'
];

$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/clonable.inc'));
$fields = array_merge($fields, include(ROOT . DS . 'templates' . DS . 'Standard/metadata.inc'));
?>

<script>
Expand Down
3 changes: 3 additions & 0 deletions app/webroot/css/co-responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
align-items: center;
grid-template-columns: 1fr 2fr;
}
ul.form-list li.fields-metadata .field {
align-items: flex-start;
}
ul.form-list .field-name {
padding-left: 0.5em;
}
Expand Down

0 comments on commit 0618b10

Please sign in to comment.