diff options
| author | Camil Staps | 2018-08-29 12:49:31 +0200 | 
|---|---|---|
| committer | Camil Staps | 2018-08-29 12:49:31 +0200 | 
| commit | a4729c66ebb4ad94cb32fa6a7779248ad5886cbb (patch) | |
| tree | c773d61125d2d4e139d24d6b8aee885526983894 /resources | |
| parent | Don't store CSRF _token in logs (diff) | |
Remove contribution links from public pages
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/layouts/master.blade.php | 2 | ||||
| -rw-r--r-- | resources/views/layouts/with_sidebar.blade.php | 4 | ||||
| -rw-r--r-- | resources/views/trainer.blade.php | 9 | 
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>© 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>© 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> | 
