Added credits

This commit is contained in:
Graham Campbell
2016-05-29 18:14:40 +01:00
parent ab0ed775e1
commit c03f01ca44
10 changed files with 217 additions and 21 deletions
+7
View File
@@ -219,6 +219,13 @@ return [
'success' => 'Settings saved.',
'failure' => 'Settings could not be saved.',
],
'credits' => [
'credits' => 'Credits',
'license' => 'Cachet is a BSD-3-licensed open source project, released by <a href="https://alt-three.com/?utm_source=cachet&utm_medium=credits&utm_campaign=Cachet%20Credit%20Dashboard" target="_blank">Alt Three Services Limited</a>.',
'backers-title' => 'Backers & Sponsors',
'backers' => 'If you\'d like to support future development, check out the <a href="https://patreon.com/jbrooksuk" target="_blank">Cachet Patreon</a> campaign.',
'thank-you' => 'Thank you to each and every one of the :count contributors.',
],
],
// Login
@@ -0,0 +1,51 @@
@extends('layout.dashboard')
@section('content')
<div class="content-panel">
@if(isset($sub_menu))
@include('dashboard.partials.sub-sidebar')
@endif
<div class="content-wrapper">
<div class="header sub-header" id="application-setup">
<span class="uppercase">
{{ trans('dashboard.settings.credits.credits') }}
</span>
</div>
<div class="row">
<div class="col-sm-12">
<h4>Cachet</h4>
<p>{!! trans('dashboard.settings.credits.license') !!}</p>
<hr>
<h4>{{ trans('dashboard.settings.credits.backers-title') }}</h4>
<p>{!! trans('dashboard.settings.credits.backers') !!}</p>
<ul>
@foreach($backers as $backer)
<li>{{ $backer['name'] }}</li>
@endforeach
</ul>
<hr>
<h4>{{ trans('dashboard.settings.credits.contributors') }}</h4>
<p>{{ trans('dashboard.settings.credits.thank-you', ['count' => count($contributors)]) }}</p>
<ul class="list-inline">
@foreach($contributors as $contributor)
<li>
<img src="{{ $contributor['avatar'] }}" class="img-rounded img-responsive" title="{{ $contributor['name'] }}" data-toggle="tooltip">
</li>
@endforeach
</ul>
<hr>
</div>
</div>
</div>
</div>
@stop