1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Add KB link in app

This commit is contained in:
Hillel Coren 2018-07-08 13:15:29 +03:00
parent 4c319a2dad
commit 6ccfbe869b
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,7 @@ return [
// Marketing links
'time_tracker_web_url' => env('TIME_TRACKER_WEB_URL', 'https://www.invoiceninja.com/time-tracker'),
'knowledge_base_url' => env('KNOWLEDGE_BASE_URL', 'https://www.invoiceninja.com/knowledge-base/'),
// Hosted plan coupons
'coupon_50_off' => env('COUPON_50_OFF', false),
@ -29,6 +30,7 @@ return [
'hosted' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/terms/'),
'selfhost' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/self-hosting-terms-service/'),
],
'privacy_policy_url' => [
'hosted' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/privacy-policy/'),
'selfhost' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/self-hosting-privacy-data-control/'),

View File

@ -124,8 +124,9 @@
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{ trans('texts.close') }}</button>
<a class="btn btn-primary" href="{{ Utils::getDocsUrl(request()->path()) }}" target="_blank">{{ trans('texts.guide') }}</a>
<a class="btn btn-primary" href="{{ config('ninja.video_urls.all') }}" target="_blank">{{ trans('texts.videos') }}</a>
<a class="btn btn-primary" href="{{ config('ninja.knowledge_base_url') }}" target="_blank">{{ trans('texts.knowledge_base') }}</a>
<a class="btn btn-primary" href="{{ Utils::getDocsUrl(request()->path()) }}" target="_blank">{{ trans('texts.user_guide') }}</a>
<a class="btn btn-primary" href="{{ config('ninja.video_urls.all') }}" target="_blank">YouTube {{ trans('texts.videos') }}</a>
</div>
</div>
</div>