Skip to content
Snippets Groups Projects
Commit bebf0c74 authored by Johannes Buechele's avatar Johannes Buechele
Browse files

#42: fixed wording, added missing inputs

parent 2b8a7a8d
No related branches found
No related tags found
No related merge requests found
......@@ -219,6 +219,32 @@ const UserWorkListElement = (props) => {
}
>
<dl className="mt-7">
<InputField
label={
<EasyTrans>
MyWorks.WorkListElement.FileName
</EasyTrans>
}
type="text"
name=""
id="filename"
searchwork={props.searchWork.toString()}
defaultValue={props.userWork.filename}
className="focus:ring-fairblue focus:border-fairblue enabled:hover:ring-green-300 enabled:hover:border-green-300 block w-full shadow-sm sm:text-sm border-gray-300 disabled:border-white rounded-md"
disabled="false"
/>
<InputField
label={
<EasyTrans>MyWorks.WorkListElement.Title</EasyTrans>
}
type="text"
name=""
id="title"
searchwork={props.searchWork.toString()}
defaultValue={props.userWork.title}
className="focus:ring-fairblue focus:border-fairblue enabled:hover:ring-green-300 enabled:hover:border-green-300 block w-full shadow-sm sm:text-sm border-gray-300 disabled:border-white rounded-md"
disabled="false"
/>
<InputField
label={
<EasyTrans>
......@@ -232,17 +258,29 @@ const UserWorkListElement = (props) => {
defaultValue={props.userWork.description}
disabled="false"
></InputField>
<InputField
label={
<EasyTrans>MyWorks.WorkListElement.Type</EasyTrans>
}
type="text"
name=""
id="type"
searchwork={props.searchWork.toString()}
defaultValue={props.userWork.type}
className="focus:ring-fairblue focus:border-fairblue enabled:hover:ring-green-300 enabled:hover:border-green-300 block w-full shadow-sm sm:text-sm border-gray-300 disabled:border-white rounded-md"
disabled="false"
/>
<InputField
label={
<EasyTrans>
MyWorks.WorkListElement.FileName
MyWorks.WorkListElement.Registrar
</EasyTrans>
}
type="text"
name=""
id="2"
id="registrar"
searchwork={props.searchWork.toString()}
defaultValue={props.userWork.filename}
defaultValue={props.userWork.registrar}
className="focus:ring-fairblue focus:border-fairblue enabled:hover:ring-green-300 enabled:hover:border-green-300 block w-full shadow-sm sm:text-sm border-gray-300 disabled:border-white rounded-md"
disabled="false"
/>
......
......@@ -274,7 +274,9 @@
"HashMetaAlgorithm": "Hash-Algorithm Meta",
"IpfsFileCid": "IPFS CID File",
"IpfsMetaCid": "IPFS CID Meta",
"Visibility": "Visibility"
"Visibility": "Visibility",
"Type": "Type",
"Registrar": "Registrar"
},
"WalletRequired": "A Wallet is Required",
"ConnectWallet": "Connect Wallet",
......
......@@ -243,11 +243,12 @@
"NoElementsFound": "No elements found"
},
"WorkListElement": {
"Title": "Title",
"WorkDescription": "Description",
"Name": "Workname",
"Edit": "Edit",
"Info": "General information",
"FileName": "File Name",
"Info": "General Work Information",
"FileName": "Filename",
"RegistrationDate": "Registration Date",
"CreationDate": "Creation Date",
"Identifier": "Identifier",
......@@ -259,7 +260,7 @@
"License": "License",
"DALICCLizenz": "DALICC-License",
"Participant": "Creator or Contributors",
"Authors": "Authors",
"Authors": "Creator",
"DeleteAuthor": "delete author",
"AddAuthor": "add author",
"Publisher": "publisher",
......@@ -274,7 +275,9 @@
"HashMetaAlgorithm": "Hash-Algorithm Meta",
"IpfsFileCid": "IPFS CID File",
"IpfsMetaCid": "IPFS CID Meta",
"Visibility": "Visibility"
"Visibility": "Visibility",
"Type": "Type",
"Registrar": "Registrar"
},
"WalletRequired": "A Wallet is Required",
"ConnectWallet": "Connect Wallet",
......
......@@ -40,7 +40,6 @@ public class WorkView implements IdentifiableView<UUID> {
Set<StorageOption> storageOptions;
@JsonIgnore
WorkFileView workFile;
@JsonIgnore
String registrar;
WorkVisibility visibility;
RevocationView revocation;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment