From f2e651d53f043ac490b94da33cc0e97fc438c793 Mon Sep 17 00:00:00 2001
From: Hillel Coren
Date: Sun, 8 May 2016 12:59:32 +0300
Subject: [PATCH 1/6] Added message if adding users insn't supported
---
resources/lang/en/texts.php | 1 +
resources/views/accounts/user_management.blade.php | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php
index 11be9fb1d5d7..c00d38f9e6c7 100644
--- a/resources/lang/en/texts.php
+++ b/resources/lang/en/texts.php
@@ -1178,6 +1178,7 @@ $LANG = array(
'invoice_number_padding' => 'Padding',
'preview' => 'Preview',
'list_vendors' => 'List Vendors',
+ 'add_users_not_supported' => 'Upgrade to the Enterprise plan to add additional users to your account.',
);
diff --git a/resources/views/accounts/user_management.blade.php b/resources/views/accounts/user_management.blade.php
index c29f3c53a27c..9917e062965f 100644
--- a/resources/views/accounts/user_management.blade.php
+++ b/resources/views/accounts/user_management.blade.php
@@ -4,13 +4,13 @@
@parent
@include('accounts.nav', ['selected' => ACCOUNT_USER_MANAGEMENT, 'advanced' => true])
-
-
@if (Utils::hasFeature(FEATURE_USERS))
- {!! Button::primary(trans('texts.add_user'))->asLinkTo(URL::to('/users/create'))->appendIcon(Icon::create('plus-sign')) !!}
+
+ {!! Button::primary(trans('texts.add_user'))->asLinkTo(URL::to('/users/create'))->appendIcon(Icon::create('plus-sign')) !!}
+
+ @else
+
{!! trans('texts.add_users_not_supported') !!}
@endif
-
-
# Invoice Ninja
-### [https://www.invoiceninja.com](https://www.invoiceninja.com)
+### [https://www.invoiceninja.org](https://www.invoiceninja.org)
[](https://travis-ci.org/invoiceninja/invoiceninja)
[](https://gitter.im/hillelcoren/invoice-ninja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
From 852b2f24a971b41c33866bcd18abbe0374b1eda8 Mon Sep 17 00:00:00 2001
From: Hillel Coren
Date: Sun, 8 May 2016 19:01:08 +0300
Subject: [PATCH 6/6] Updated readme
---
readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/readme.md b/readme.md
index 17cfc0315746..93b30a8003d4 100644
--- a/readme.md
+++ b/readme.md
@@ -3,7 +3,7 @@
# Invoice Ninja
-### [https://www.invoiceninja.org](https://www.invoiceninja.org)
+### [http://www.invoiceninja.org](http://www.invoiceninja.org)
[](https://travis-ci.org/invoiceninja/invoiceninja)
[](https://gitter.im/hillelcoren/invoice-ninja?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)