Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Disable file import, add links.
James Cole25be550e6d73
diff --git a/config/import.php b/config/import.phpindex c3f53ff749..c7030d5a07 100644--- a/config/import.php+++ b/config/import.php@@ -44,7 +44,7 @@ return [// these import providers are available:'enabled' => ['fake' => true,- 'file' => true,+ 'file' => false,'bunq' => false,'spectre' => true,'ynab' => true,@@ -69,8 +69,8 @@ return [// a normal user user can use these import providers (when enabled):'allowed_for_user' => ['fake' => false,- 'file' => true,- 'bunq' => true,+ 'file' => false,+ 'bunq' => false,'spectre' => true,'ynab' => true,'plaid' => true,@@ -82,7 +82,7 @@ return ['has_prereq' => ['fake' => true,'file' => false,- 'bunq' => true,+ 'bunq' => false,'spectre' => true,'ynab' => true,'plaid' => true,@@ -105,8 +105,8 @@ return [// some providers may need extra configuration per job'has_job_config' => ['fake' => true,- 'file' => true,- 'bunq' => true,+ 'file' => false,+ 'bunq' => false,'spectre' => true,'ynab' => true,'plaid' => false,diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.phpindex 818cd74363..52261e74c4 100644--- a/resources/lang/en_US/firefly.php+++ b/resources/lang/en_US/firefly.php@@ -1425,7 +1425,11 @@ return ['import_index_title' => 'Import transactions into Firefly III','import_data' => 'Import data','import_transactions' => 'Import transactions',-+ 'import_tools_title' => 'Import tools',+ 'tools_index_intro' => 'Several tools exist to import data into Firefly III. Check them out below. For more information, check out <a href="https://docs.firefly-iii.org/importing-data/introduction">this page</a>.',+ 'firefly_iii_csv_importer_name' => 'Firefly III CSV importer',+ 'firefly_iii_bunq_importer_name' => 'Firefly III bunq 🌈 importer',+ //// sandstorm.io errors and messages:'sandstorm_not_available' => 'This function is not available when you are using Firefly III within a Sandstorm.io environment.',diff --git a/resources/views/v1/import/index.twig b/resources/views/v1/import/index.twigindex d91cd0adff..233566f8ba 100644--- a/resources/views/v1/import/index.twig+++ b/resources/views/v1/import/index.twig@@ -5,7 +5,7 @@{% endblock %}{% block content %}<div class="row">- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">+ <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12"><div class="box box-default"><div class="box-header with-border"><h3 class="box-title">{{ trans('firefly.import_index_title') }}</h3>@@ -20,7 +20,7 @@<div class="row">{% for name, provider in providers %}{# button for each import thing: #}- <div class="col-lg-1 col-md-4 col-sm-6 text-center">+ <div class="col-lg-2 col-md-4 col-sm-6 text-center">{% if not provider.allowed_for_demo and isDemoUser %}<img src="v1/images/logos/{{ name }}.png" alt="{{ trans(('import.button_'~name)) }}"/><br/>{{ trans(('import.button_'~name)) }}<br>@@ -38,6 +38,26 @@</div></div></div>+ <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">+ <div class="box box-default">+ <div class="box-header with-border">+ <h3 class="box-title">{{ trans('firefly.import_tools_title') }}</h3>+ </div>+ <div class="box-body">+ <p>+ {{ trans('firefly.tools_index_intro')|raw }}+ </p>+ <ul>+ <li>+ <a href="http://github.com/firefly-iii/csv-importer" title="{{ 'firefly_iii_csv_importer_name'|_ }}">{{ 'firefly_iii_csv_importer_name'|_ }}</a>+ </li>+ <li>+ <a href="http://github.com/firefly-iii/bunq-importer" title="{{ 'firefly_iii_bunq_importer_name'|_ }}">{{ 'firefly_iii_bunq_importer_name'|_ }}</a>+ </li>+ </ul>+ </div>+ </div>+ </div></div><div class="row">