aboutsummaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/layouts/master.blade.php2
-rw-r--r--resources/views/layouts/with_sidebar.blade.php4
-rw-r--r--resources/views/trainer.blade.php9
3 files changed, 4 insertions, 11 deletions
diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php
index 5d244d0..6a472e3 100644
--- a/resources/views/layouts/master.blade.php
+++ b/resources/views/layouts/master.blade.php
@@ -23,10 +23,10 @@ use Illuminate\Support\Facades\Request;
$activePage = isset($activePage) ? $activePage : '';
$menu = [
'Train' => ['/', ''],
- 'Contribute' => ['contribute', 'contribute'],
];
if (Auth::check()) {
+ $menu['Contribute'] = ['contribute', 'contribute'];
$menu['Statistics'] = ['stats', 'stats'];
}
?>
diff --git a/resources/views/layouts/with_sidebar.blade.php b/resources/views/layouts/with_sidebar.blade.php
index b16954e..ecb97c1 100644
--- a/resources/views/layouts/with_sidebar.blade.php
+++ b/resources/views/layouts/with_sidebar.blade.php
@@ -4,10 +4,6 @@
<div class="row">
<div class="col-md-2 col-xs-4">
@yield('sidebar')
-
- <h3>About</h3>
- <p>&copy; 2015-16 <a href="https://camilstaps.nl">Camil Staps</a>. Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>. Source is on <a href="https://github.com/HebrewTools/ParseTrainer">GitHub</a>.</p>
- <p>Please report any mistakes to <a href="mailto:info@camilstaps.nl">info@camilstaps.nl</a>.</p>
</div>
<div class="col-md-10 col-xs-8">
@yield('content')
diff --git a/resources/views/trainer.blade.php b/resources/views/trainer.blade.php
index 2d2ae25..1671d25 100644
--- a/resources/views/trainer.blade.php
+++ b/resources/views/trainer.blade.php
@@ -78,14 +78,11 @@ use HebrewParseTrainer\Tense;
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
- <h3 class="panel-title">Contribute!</h3>
+ <h3 class="panel-title">About</h3>
</div>
<div class="panel-body">
- <p>If this app is useful to you, please consider <a href="{{ url('/contribute') }}">contributing</a> by adding more verbs to the database!</p>
- @if(!Auth::check())
- <a class="btn btn-success" href="{{ url('/register') }}">Sign up</a>
- <a class="btn btn-primary" href="{{ url('/login') }}">Login</a>
- @endif
+ <p>&copy; 2015-18 <a href="https://camilstaps.nl">Camil Staps</a>. Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>. Source is on <a href="https://github.com/HebrewTools/ParseTrainer">GitHub</a>.</p>
+ <p>Please report any mistakes to <a href="mailto:info@camilstaps.nl">info@camilstaps.nl</a>.</p>
</div>
</div>
</div>