Permalink
Browse files

CSPACE-5060: Added P/NP for Person authority

  • Loading branch information...
1 parent c1026d2 commit b9a65d0b53d14c7b16aedb351033f4f64f46e06b @anvk committed Apr 19, 2012
@@ -1210,16 +1210,23 @@ dimension-measuredByLabel: Measured By
dimension-measurementUnitLabel: Dimension Unit
dimension-valueDateLabel: Date
-#preferred
-preferred-authorityDisplayNameLabel: Display Name
-preferred-authorityQualifierLabel: Qualifier
-preferred-authorityTermTypeLabel: Term Type
-preferred-authorityTermLabel: Term
-preferred-authorityTermLanguageLabel: Lang
-preferred-authorityTermPreferredForLanguageLabel: Pref for Lang
-preferred-authorityTermSourceLabel: Source
-preferred-authorityTermSourceDetailLabel: Source detail
-preferred-authorityTermSourceIDLabel: Source ID
+#preferred-person
+preferred-personDisplayNameLabel: Display Name
+preferred-personQualifierLabel: Qualifier
+preferred-personTermTypeLabel: Term Type
+preferred-personTermLabel: Term
+preferred-personTermLanguageLabel: Lang
+preferred-personTermPreferredForLanguageLabel: Pref for Lang
+preferred-personTermSourceLabel: Source
+preferred-personTermSourceDetailLabel: Source detail
+preferred-personTermSourceIDLabel: Source ID
+preferred-personSalutationLabel: Salutation
+preferred-personTitleLabel: Title
+preferred-personForenameLabel: Forename
+preferred-personMiddleNameLabel: Middle Name
+preferred-personSurnameLabel: Surname
+preferred-personAdditionLabel: Addition
+preferred-personInitialsLabel: Initials
listView-show: Show
listView-perPage: per page
@@ -2,23 +2,23 @@
<div class="header">
<div>&nbsp;</div>
</div>
- <div class="content csc-preferred-authorityGroup">
+ <div class="content csc-preferred-personGroup">
<div class="info-column">
<div class="info-pair">
<div class="content">
<table>
<thead>
<tr>
- <td class="csc-preferred-authorityDisplayName-label"></td>
- <td class="csc-preferred-authorityQualifier-label"></td>
- <td class="csc-preferred-authorityTermType-label"></td>
+ <td class="csc-preferred-personDisplayName-label"></td>
+ <td class="csc-preferred-personQualifier-label"></td>
+ <td class="csc-preferred-personTermType-label"></td>
</tr>
</thead>
<tbody>
<tr>
- <td><input type="text" class="csc-preferred-authorityDisplayName"/></td>
- <td><input type="text" class="csc-preferred-authoritynQualifier"/></td>
- <td><input type="text" class="csc-preferred-authorityTermType"/></td>
+ <td><input type="text" class="csc-preferred-personDisplayName"/></td>
+ <td><input type="text" class="csc-preferred-personQualifier"/></td>
+ <td><input type="text" class="csc-preferred-personTermType"/></td>
</tr>
</tbody>
</table>
@@ -31,22 +31,52 @@
<table>
<thead>
<tr>
- <td class="csc-preferred-authorityTerm-label"></td>
- <td class="csc-preferred-authorityTermLanguage-label"></td>
- <td class="csc-preferred-authorityTermPreferredForLanguage-label"></td>
- <td class="csc-preferred-authorityTermSource-label"></td>
- <td class="csc-preferred-authorityTermSourceDetail-label"></td>
- <td class="csc-preferred-authorityTermSourceID-label"></td>
+ <td class="csc-preferred-personTerm-label"></td>
+ <td class="csc-preferred-personTermLanguage-label"></td>
+ <td class="csc-preferred-personTermPreferredForLanguage-label"></td>
+ <td class="csc-preferred-personTermSource-label"></td>
+ <td class="csc-preferred-personTermSourceDetail-label"></td>
+ <td class="csc-preferred-personTermSourceID-label"></td>
</tr>
</thead>
<tbody>
<tr>
- <td><input type="text" class="csc-preferred-authorityTerm"/></td>
- <td><input type="text" class="csc-preferred-authorityTermLanguage"/></td>
- <td><input type="text" class="csc-preferred-authorityTermPreferredForLanguage"/></td>
- <td><input type="text" class="csc-preferred-authorityTermSource"/></td>
- <td><input type="text" class="csc-preferred-authorityTermSourceDetail"/></td>
- <td><input type="text" class="csc-preferred-authorityTermSourceID"/></td>
+ <td><input type="text" class="csc-preferred-personTerm"/></td>
+ <td><input type="text" class="csc-preferred-personTermLanguage"/></td>
+ <td><input type="text" class="csc-preferred-personTermPreferredForLanguage"/></td>
+ <td><input type="text" class="csc-preferred-personTermSource"/></td>
+ <td><input type="text" class="csc-preferred-personTermSourceDetail"/></td>
+ <td><input type="text" class="csc-preferred-personTermSourceID"/></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+ <div class="info-column">
+ <div class="info-pair">
+ <div class="content">
+ <table>
+ <thead>
+ <tr>
+ <td class="csc-preferred-personSalutation-label"></td>
+ <td class="csc-preferred-personTitle-label"></td>
+ <td class="csc-preferred-personForename-label"></td>
+ <td class="csc-preferred-personMiddleName-label"></td>
+ <td class="csc-preferred-personSurname-label"></td>
+ <td class="csc-preferred-personAddition-label"></td>
+ <td class="csc-preferred-personInitials-label"></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><input type="text" class="csc-preferred-personSalutation"/></td>
+ <td><input type="text" class="csc-preferred-personTitle"/></td>
+ <td><input type="text" class="csc-preferred-personForename"/></td>
+ <td><input type="text" class="csc-preferred-personMiddleName"/></td>
+ <td><input type="text" class="csc-preferred-personSurname"/></td>
+ <td><input type="text" class="csc-preferred-personAddition"/></td>
+ <td><input type="text" class="csc-preferred-personInitials"/></td>
</tr>
</tbody>
</table>
@@ -20,7 +20,7 @@
<div class="csc-person-personNameAuthorityInformation-label csc-recordEditor-header fl-container-flex header toggle"></div>
<div class="csc-recordEditor-togglable fl-container-flex fl-fix content main">
- <div class="csc-personAuthority-preferred"></div>
+ <div class="csc-preferred-personAuthority"></div>
<div class="info-column">
<div class="info-column2-40 fl-force-left">
@@ -10,38 +10,59 @@
},
"fields": {
"properties": {
- "preferredAuthorityGroup": {
+ "preferredPersonGroup": {
"items": {
"properties": {
"_primary": {
"default": true,
"type": "boolean"
},
- "authorityDisplayName": {
+ "personDisplayName": {
"type": "string"
},
- "authorityQualifier": {
+ "personQualifier": {
"type": "string"
},
- "authorityTermType": {
+ "personTermType": {
"type": "string"
},
- "authorityTerm": {
+ "personTerm": {
"type": "string"
},
- "authorityTermLanguage": {
+ "personTermLanguage": {
"type": "string"
},
- "authorityTermPreferredForLanguage": {
+ "personTermPreferredForLanguage": {
"type": "string"
},
- "authorityTermSource": {
+ "personTermSource": {
"type": "string"
},
- "authorityTermSourceDetail": {
+ "personTermSourceDetail": {
"type": "string"
},
- "authorityTermSourceID": {
+ "personTermSourceID": {
+ "type": "string"
+ },
+ "personSalutation": {
+ "type": "string"
+ },
+ "personTitle": {
+ "type": "string"
+ },
+ "personForename": {
+ "type": "string"
+ },
+ "personMiddleName": {
+ "type": "string"
+ },
+ "personSurname": {
+ "type": "string"
+ },
+ "personAddition": {
+ "type": "string"
+ },
+ "personInitials": {
"type": "string"
}
},
@@ -146,8 +146,7 @@
}
},
"recordEditor": {
-
- ".csc-personAuthority-preferred": {
+ ".csc-preferred-personAuthority": {
"decorators": [
{
"func": "cspace.preferred",
@@ -156,7 +155,7 @@
"protoTree": {
"expander": {
"tree": {
- ".csc-preferred-authorityGroup": {
+ ".csc-preferred-personGroup": {
"decorators": [
{
"func": "cspace.makeRepeatable",
@@ -165,51 +164,80 @@
"repeatTree": {
"expander": {
"tree": {
- ".csc-preferred-authorityDisplayName": "${{row}.authorityDisplayName}",
- ".csc-preferred-authorityQualifier": "${{row}.authorityQualifier}",
- ".csc-preferred-authorityTermType": "${{row}.authorityTermType}",
- ".csc-preferred-authorityTerm": "${{row}.authorityTerm}",
- ".csc-preferred-authorityTermLanguage": "${{row}.authorityTermLanguage}",
- ".csc-preferred-authorityTermPreferredForLanguage": "${{row}.authorityTermPreferredForLanguage}",
- ".csc-preferred-authorityTermSource": "${{row}.authorityTermSource}",
- ".csc-preferred-authorityTermSourceDetail": "${{row}.authorityTermSourceDetail}",
- ".csc-preferred-authorityTermSourceID": "${{row}.authorityTermSourceID}"
+ ".csc-preferred-personDisplayName": "${{row}.personDisplayName}",
+ ".csc-preferred-personQualifier": "${{row}.personQualifier}",
+ ".csc-preferred-personTermType": "${{row}.personTermType}",
+ ".csc-preferred-personTerm": "${{row}.personTerm}",
+ ".csc-preferred-personTermLanguage": "${{row}.personTermLanguage}",
+ ".csc-preferred-personTermPreferredForLanguage": "${{row}.personTermPreferredForLanguage}",
+ ".csc-preferred-personTermSource": "${{row}.personTermSource}",
+ ".csc-preferred-personTermSourceDetail": "${{row}.personTermSourceDetail}",
+ ".csc-preferred-personTermSourceID": "${{row}.personTermSourceID}",
+ ".csc-preferred-personSalutation": "${{row}.personSalutation}",
+ ".csc-preferred-personTitle": "${{row}.personTitle}",
+ ".csc-preferred-personForename": "${{row}.personForename}",
+ ".csc-preferred-personMiddleName": "${{row}.personMiddleName}",
+ ".csc-preferred-personSurname": "${{row}.personSurname}",
+ ".csc-preferred-personAddition": "${{row}.personAddition}",
+ ".csc-preferred-personInitials": "${{row}.personInitials}"
},
"type": "fluid.noexpand"
}
},
- "elPath": "fields.preferredAuthorityGroup"
+ "elPath": "fields.preferredPersonGroup"
}
}
]
},
- ".csc-preferred-authorityDisplayName-label": {
- "messagekey": "preferred-authorityDisplayNameLabel"
+ ".csc-preferred-personDisplayName-label": {
+ "messagekey": "preferred-personDisplayNameLabel"
},
- ".csc-preferred-authorityQualifier-label": {
- "messagekey": "preferred-authorityQualifierLabel"
+ ".csc-preferred-personQualifier-label": {
+ "messagekey": "preferred-personQualifierLabel"
},
- ".csc-preferred-authorityTermType-label": {
- "messagekey": "preferred-authorityTermTypeLabel"
+ ".csc-preferred-personTermType-label": {
+ "messagekey": "preferred-personTermTypeLabel"
},
- ".csc-preferred-authorityTerm-label": {
- "messagekey": "preferred-authorityTermLabel"
+ ".csc-preferred-personTerm-label": {
+ "messagekey": "preferred-personTermLabel"
},
- ".csc-preferred-authorityTermLanguage-label": {
- "messagekey": "preferred-authorityTermLanguageLabel"
+ ".csc-preferred-personTermLanguage-label": {
+ "messagekey": "preferred-personTermLanguageLabel"
},
- ".csc-preferred-authorityTermPreferredForLanguage-label": {
- "messagekey": "preferred-authorityTermPreferredForLanguageLabel"
+ ".csc-preferred-personTermPreferredForLanguage-label": {
+ "messagekey": "preferred-personTermPreferredForLanguageLabel"
},
- ".csc-preferred-authorityTermSource-label": {
- "messagekey": "preferred-authorityTermSourceLabel"
+ ".csc-preferred-personTermSource-label": {
+ "messagekey": "preferred-personTermSourceLabel"
},
- ".csc-preferred-authorityTermSourceDetail-label": {
- "messagekey": "preferred-authorityTermSourceDetailLabel"
+ ".csc-preferred-personTermSourceDetail-label": {
+ "messagekey": "preferred-personTermSourceDetailLabel"
},
- ".csc-preferred-authorityTermSourceID-label": {
- "messagekey": "preferred-authorityTermSourceIDLabel"
+ ".csc-preferred-personTermSourceID-label": {
+ "messagekey": "preferred-personTermSourceIDLabel"
+ },
+ ".csc-preferred-personSalutation-label": {
+ "messagekey": "preferred-personSalutationLabel"
+ },
+ ".csc-preferred-personTitle-label": {
+ "messagekey": "preferred-personTitleLabel"
+ },
+ ".csc-preferred-personForename-label": {
+ "messagekey": "preferred-personForenameLabel"
+ },
+ ".csc-preferred-personMiddleName-label": {
+ "messagekey": "preferred-personMiddleNameLabel"
+ },
+ ".csc-preferred-personSurname-label": {
+ "messagekey": "preferred-personSurnameLabel"
+ },
+ ".csc-preferred-personAddition-label": {
+ "messagekey": "preferred-personAdditionLabel"
+ },
+ ".csc-preferred-personInitials-label": {
+ "messagekey": "preferred-personInitialsLabel"
}
+
},
"type": "fluid.noexpand"
}

0 comments on commit b9a65d0

Please sign in to comment.