- new subtitle in hero section with 26px

- bug im Backend augebessert
- db migration for documents via Config::get
This commit is contained in:
Arno Kaimbacher 2019-09-20 10:26:30 +02:00
parent 15c7df78c7
commit 54d6c5d434
6 changed files with 14 additions and 13 deletions

View File

@ -9,14 +9,15 @@ return [
'updated' => 'updated',
],
'server_states' => [
"audited" => "audited",
"deleted" => "deleted",
"inprogress" => "inprogress",
"published" => "published",
'restricted' => 'restricted',
'inprogress' => 'inprogress',
'unpublished' => 'unpublished',
'deleted' => 'deleted',
'temporary' => 'temporary',
'created' => 'created',
"released" => "released",
"editor_accepted" => "editor_accepted",
"approved" => "approved",
"rejected_reviewer" => "rejected_reviewer",
"rejected_editor" => "rejected_editor",
"reviewed" => "reviewed",
],
'mimetypes_allowed' => [
"pdf" => "application/pdf",

View File

@ -2,7 +2,7 @@
return [
'endpoint' => [
'localhost' => [
'repository.geologie.ac.at' => [
'host' => env('SOLR_HOST', 'repository.geologie.ac.at'),
'port' => env('SOLR_PORT', '8983'),
'path' => env('SOLR_PATH', '/solr/'),

View File

@ -29,7 +29,7 @@ class CreateDocumentsTable extends Migration
$table->string('language', 10);
$table->enum(
'server_state',
['deleted', 'inprogress', 'published', 'released', 'editor_accepted', 'approved', 'rejected_reviewer', 'rejected_editor', 'reviewed']
Config::get('enums.server_states')
)->default('inprogress');
$table->boolean('belongs_to_bibliography')->default(0);
$table->dateTime('created_at');

View File

@ -363,7 +363,8 @@ section.normal {
top: 0; right: 0; bottom: 0; left: 0;
}
.hero h2 {
font-size: 24px;
/* font-size: 24px; original */
font-size: 26px;
}
.hero p {

View File

@ -8,7 +8,7 @@
<div class="twelve columns">
<h1 class="separator">Research Data Repository</h1>
<h2>
A data repository for the research community with secure preservation and data publication.
Data Publisher for Geo and Atmospheric Science Austria
</h2>
</div>
</div>

View File

@ -69,8 +69,7 @@
</td>
<td>
<a class="view" href="{{ route('settings.document.show', $document->id) }}"><span>&nbsp;</span></a>
<a class="edit" href="{{ route('settings.document.edit', $document->id) }}"><span>&nbsp;</span></a>
<!--<a class="delete" href="{{ route('settings.book.delete', $document->id) }}"><span>&nbsp;</span></a>-->
<a class="edit" href="{{ route('settings.document.edit', $document->id) }}"><span>&nbsp;</span></a>
</td>
</tr>