';
+ // '.$this->getDeleteButtonAttribute('page', 'settings.page.destroy').'
}
- /**
+ /**
* @return string
*/
public function getViewButtonAttribute()
{
return '
+ ' . route('frontend.pages.show', $this->page_slug) . ' " class="btn btn-flat btn-default">
';
}
- /**
+ /**
* @return string
*/
public function getStatusLabelAttribute()
{
if ($this->isActive()) {
- return "';
+ return "';
}
- return "';
+ return "';
}
-
+
/**
* @return bool
*/
diff --git a/resources/lang/en/exceptions.php b/resources/lang/en/exceptions.php
index b8fd4b0..80a6172 100644
--- a/resources/lang/en/exceptions.php
+++ b/resources/lang/en/exceptions.php
@@ -22,6 +22,13 @@ return [
'not_found' => 'That Page does not exist.',
'update_error' => 'There was a problem updating this Page. Please try again.',
],
+ 'licenses' => [
+ 'already_exists' => 'That License already exists. Please choose a different name.',
+ 'create_error' => 'There was a problem creating this License. Please try again.',
+ 'delete_error' => 'There was a problem deleting this License. Please try again.',
+ 'not_found' => 'That License does not exist.',
+ 'update_error' => 'There was a problem updating this License. Please try again.',
+ ],
],
'frontend' => [],
];
diff --git a/resources/lang/en/resources.php b/resources/lang/en/resources.php
index e7ae8f5..d8d6ce0 100644
--- a/resources/lang/en/resources.php
+++ b/resources/lang/en/resources.php
@@ -1,46 +1,45 @@
'Laravel Internationalization example.',
+ 'msg' => 'Laravel Internationalization example.',
- 'home_index_label' => 'Home',
- 'home_index_pagetitle' => 'Home',
- 'home_index_title' => 'Publication Server of XYZ University',
- 'home_index_welcome' => 'The library offers to publish electronically generated and
+ 'home_index_label' => 'Home',
+ 'home_index_pagetitle' => 'Home',
+ 'home_index_title' => 'Publication Server of XYZ University',
+ 'home_index_welcome' => 'The library offers to publish electronically generated and
qualified documents on its online publication system. This service is
for university members only and free of charge. After publication, the
texts are available worldwide on the Internet and will be archived
permanently by the library. The documents are indexed and made
accessible in library catalogues and Web search engines.',
- 'home_index_instructions' => 'If you want to search for documents of the university, please
+ 'home_index_instructions' => 'If you want to search for documents of the university, please
choose the menu "Search" where you will find several search options. If
you want to publish a document, please select the menu "Publish"; here
you can submit your document to the publication server in just a few
steps.',
- 'home_index_imprint_pagetitle' => 'Imprint',
- 'home_index_imprint_title' => 'Legal notice according to § 5 E-Commerce-Gesetz (Austria)',
- 'help_content_imprint' => Illuminate\Support\Facades\File::get(resource_path() . '/lang/en/imprint.en.txt'),
+ 'home_index_imprint_pagetitle' => 'Imprint',
+ 'home_index_imprint_title' => 'Legal notice according to § 5 E-Commerce-Gesetz (Austria)',
+ 'help_content_imprint' => Illuminate\Support\Facades\File::get(resource_path() . '/lang/en/imprint.en.txt'),
- 'home_index_contact_pagetitle' => 'Contact',
- 'home_index_contact_title' => 'Contact us...',
+ 'home_index_contact_pagetitle' => 'Contact',
+ 'home_index_contact_title' => 'Contact us...',
- 'home_about_pagetitle' => 'About Us',
- 'home_about_title' => 'About us...',
- 'home_about_content' => 'RDR (Research Data Repository) is an interdisciplinary digital data repository for the archival and publication of research data resulting from completed scientific studies and projects. RDR focuses on disciplines who do not have a tradition of data sharing thus ensuring better availability, sustainable preservation and (independent) publication capacity of their research data.',
+ 'home_about_pagetitle' => 'About Us',
+ 'home_about_title' => 'About us...',
+ 'home_about_content' => 'RDR (Research Data Repository) is an interdisciplinary digital data repository for the archival and publication of research data resulting from completed scientific studies and projects. RDR focuses on disciplines who do not have a tradition of data sharing thus ensuring better availability, sustainable preservation and (independent) publication capacity of their research data.',
- 'home_news_pagetitle' => 'News',
+ 'home_news_pagetitle' => 'News',
+ 'solrsearch_title_simple' => 'Search',
+ 'solrsearch_title_advanced' => 'Advanced Search',
+ 'solrsearch_title_alldocs' => 'All datasets',
+ 'solrsearch_searchaction' => 'Search',
+ 'solrsearch_title_latest' => 'Latest Documents',
- 'solrsearch_title_simple' => 'Search',
- 'solrsearch_title_advanced' => 'Advanced Search',
- 'solrsearch_title_alldocs' => 'All datasets',
- 'solrsearch_searchaction' => 'Search',
- 'solrsearch_title_latest' => 'Latest Documents',
+ 'rss_icon' => 'subscribe to RSS feed',
+ 'rss_title' => 'subscribe to RSS feed',
- 'rss_icon' =>'subscribe to RSS feed',
- 'rss_title' => 'subscribe to RSS feed',
-
- 'default_auth_index' => 'Login',
- 'auth_pagetitle' => 'User Login',
+ 'default_auth_index' => 'Login',
+ 'auth_pagetitle' => 'User Login',
];
diff --git a/resources/views/frontend/pages/index.blade.php b/resources/views/frontend/pages/index.blade.php
index 8d94ee3..a4dab32 100644
--- a/resources/views/frontend/pages/index.blade.php
+++ b/resources/views/frontend/pages/index.blade.php
@@ -1,5 +1,16 @@
@extends('layouts.app')
@section('content')
- {!! $page->description !!}
+
+
+ {!! $page->title !!}
+
+
+
+
+ {!! $page->description !!}
+
+
+
+
@endsection
\ No newline at end of file
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index 1e58136..68aa9f2 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -56,7 +56,8 @@