Add links to YouTube videos

This commit is contained in:
Hillel Coren 2017-10-24 09:26:31 +03:00
parent e112d22ae2
commit f9ca7dcbed
4 changed files with 12 additions and 3 deletions

View File

@ -2,6 +2,11 @@
return [
'video_urls' => [
'all' => env('NINJA_VIDEOS_URL', 'https://www.youtube.com/channel/UCXAHcBvhW05PDtWYIq7WDFA/videos'),
'custom_design' => env('NINJA_VIDEOS_CUSOTM_DESIGN_URL', 'https://www.youtube.com/watch?v=pXQ6jgiHodc'),
],
// invoice locking feature
'lock_sent_invoices' => env('LOCK_SENT_INVOICES'),

View File

@ -2502,6 +2502,8 @@ $LANG = array(
'apply' => 'Apply',
'recover_white_label_header' => 'Recover White Label License',
'apply_white_label_header' => 'Apply White Label License',
'videos' => 'Videos',
'video' => 'Video',
);

View File

@ -215,7 +215,7 @@
<script>
function showHelp() {
$('#helpModal').modal('show');
$('#designHelpModal').modal('show');
}
</script>
@ -223,12 +223,12 @@
{!! Former::close() !!}
<div class="modal fade" id="helpModal" tabindex="-1" role="dialog" aria-labelledby="helpModalLabel" aria-hidden="true">
<div class="modal fade" id="designHelpModal" tabindex="-1" role="dialog" aria-labelledby="designHelpModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="helpModalLabel">{{ trans('texts.help') }}</h4>
<h4 class="modal-title" id="designHelpModalLabel">{{ trans('texts.help') }}</h4>
</div>
<div class="container" style="width: 100%; padding-bottom: 0px !important">
@ -246,6 +246,7 @@
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{ trans('texts.close') }}</button>
<a class="btn btn-primary" href="{{ config('ninja.video_urls.custom_design') }}" target="_blank">{{ trans('texts.video') }}</a>
</div>
</div>

View File

@ -124,6 +124,7 @@
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{ trans('texts.close') }}</button>
<a class="btn btn-primary" href="{{ config('ninja.video_urls.all') }}" target="_blank">{{ trans('texts.videos') }}</a>
</div>
</div>
</div>