From 8f65817dc50bb84869571aceea2f1a6eae47e141 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 6 Sep 2016 11:02:21 +0300 Subject: [PATCH] Added fb/twtr to notifications page --- resources/lang/en/texts.php | 2 + .../views/accounts/notifications.blade.php | 57 +++++++++++-------- 2 files changed, 35 insertions(+), 24 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 77fd99efdfb7..59beff4735c4 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2095,6 +2095,8 @@ $LANG = array( 'city_state_postal' => 'City/State/Postal', 'custom_field' => 'Custom Field', 'account_fields' => 'Company Fields', + 'facebook_and_twitter' => 'Facebook and Twitter', + 'facebook_and_twitter_help' => 'Follow our feeds to help support our project', ); diff --git a/resources/views/accounts/notifications.blade.php b/resources/views/accounts/notifications.blade.php index 2b1ebd4847d9..e7260784d346 100644 --- a/resources/views/accounts/notifications.blade.php +++ b/resources/views/accounts/notifications.blade.php @@ -1,7 +1,7 @@ @extends('header') -@section('content') - @parent +@section('content') + @parent @include('accounts.nav', ['selected' => ACCOUNT_NOTIFICATIONS]) @@ -19,41 +19,50 @@
{!! Former::checkbox('notify_sent')->label(' ')->text(trans('texts.email_sent')) !!} {!! Former::checkbox('notify_viewed')->label(' ')->text(trans('texts.email_viewed')) !!} - {!! Former::checkbox('notify_paid')->label(' ')->text(trans('texts.email_paid')) !!} + {!! Former::checkbox('notify_paid')->label(' ')->text(trans('texts.email_paid')) !!} {!! Former::checkbox('notify_approved')->label(' ')->text(trans('texts.email_approved')) !!}
+
+
+

{!! trans('texts.facebook_and_twitter') !!}

+
+
- - - {!! Former::actions( + + + {!! Former::actions( Button::success(trans('texts.save')) ->submit()->large() ->appendIcon(Icon::create('floppy-disk'))) !!} - + {!! Former::close() !!} -@stop \ No newline at end of file + +@stop