- favicons for all platforms

- deleting message box in contact view
- optional property for showing heading in PersonTable.vue
- showing reference type and additional abstratcs in detail view of dataset
- reduced relationTypes for references
This commit is contained in:
Arno Kaimbacher 2020-04-09 17:48:55 +02:00
parent ea6288fd0f
commit 0249bcc2c5
27 changed files with 172 additions and 72 deletions

View file

@ -61,9 +61,9 @@ class IndexController extends Controller
$projects = Project::pluck('label', 'id');
$relatedIdentifierTypes = ["doi", "handle", "isbn", "issn", "url", "urn"];
$relatedIdentifierTypes = array_combine($relatedIdentifierTypes, $relatedIdentifierTypes);
$relationTypes = ["IsSupplementTo", "IsSupplementedBy", "IsContinuedBy", "Continues",
"IsNewVersionOf", "IsPartOf", "HasPart", "Compiles", "IsVariantFormOf"];
$relationTypes = ["IsSupplementTo", "IsSupplementedBy", "IsContinuedBy", "Continues",
"IsNewVersionOf", "IsPartOf", "HasPart", "Compiles", "IsVariantFormOf"];
$relationTypes = array_combine($relationTypes, $relationTypes);
$titleTypes = ['Sub' => 'Sub', 'Alternative' => 'Alternative', 'Translated' => 'Translated', 'Other' => 'Other'];
@ -78,7 +78,18 @@ class IndexController extends Controller
//$relationTypes = array('updates' => 'updates', 'updated-by' => 'updated-by', 'other' => 'other');
return view(
'publish.create-step1',
compact('licenses', 'languages', 'messages', 'projects', 'relatedIdentifierTypes', 'relationTypes', 'titleTypes', 'keywordTypes', 'descriptionTypes', 'page')
compact(
'licenses',
'languages',
'messages',
'projects',
'relatedIdentifierTypes',
'relationTypes',
'titleTypes',
'keywordTypes',
'descriptionTypes',
'page'
)
);
}