2015-10-14 16:15:39 +02:00
|
|
|
@extends('header')
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
@section('content')
|
|
|
|
@parent
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2015-10-14 16:15:39 +02:00
|
|
|
@include('accounts.nav', ['selected' => ACCOUNT_NOTIFICATIONS])
|
|
|
|
|
|
|
|
{!! Former::open()->addClass('warn-on-exit') !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
{{ Former::populate($account) }}
|
|
|
|
|
2017-01-08 16:43:56 +01:00
|
|
|
@include('accounts.partials.notifications')
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2017-06-05 15:31:28 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{!! trans('texts.google_analytics') !!}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
|
|
|
|
{!! Former::text('analytics_key')
|
|
|
|
->help(trans('texts.analytics_key_help', ['link' => link_to('https://support.google.com/analytics/answer/1037249?hl=en', 'Google Analytics Ecommerce', ['target' => '_blank'])])) !!}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{!! trans('texts.facebook_and_twitter') !!}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
|
2015-04-20 16:34:23 +02:00
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="notify_sent" class="control-label col-lg-4 col-sm-4"> </label>
|
|
|
|
<div class="col-lg-8 col-sm-8">
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
<div id="fb-root"></div>
|
|
|
|
<script>(function(d, s, id) {
|
|
|
|
var js, fjs = d.getElementsByTagName(s)[0];
|
|
|
|
if (d.getElementById(id)) return;
|
|
|
|
js = d.createElement(s); js.id = id;
|
|
|
|
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=635126583203143";
|
|
|
|
fjs.parentNode.insertBefore(js, fjs);
|
|
|
|
}(document, 'script', 'facebook-jssdk'));</script>
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
<div class="fb-follow" data-href="https://www.facebook.com/invoiceninja" data-colorscheme="light" data-layout="button" data-show-faces="false" data-size="large"></div>
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
<a href="https://twitter.com/invoiceninja" class="twitter-follow-button" data-show-count="false" data-related="hillelcoren" data-size="large">Follow @invoiceninja</a>
|
|
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
<div class="help-block">{{ trans('texts.facebook_and_twitter_help') }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-10-14 22:56:17 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-06 10:02:21 +02:00
|
|
|
|
|
|
|
|
2017-11-03 09:19:03 +01:00
|
|
|
<center class="buttons">
|
|
|
|
{!! Button::success(trans('texts.save'))
|
2015-04-01 21:57:02 +02:00
|
|
|
->submit()->large()
|
2017-11-03 09:19:03 +01:00
|
|
|
->appendIcon(Icon::create('floppy-disk')) !!}
|
|
|
|
</center>
|
2016-09-06 10:02:21 +02:00
|
|
|
|
2015-04-01 21:57:02 +02:00
|
|
|
{!! Former::close() !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-06 10:02:21 +02:00
|
|
|
|
|
|
|
@stop
|