mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 05:06:37 +00:00
New code for updated import routine.
This commit is contained in:
@@ -180,6 +180,7 @@ return [
|
||||
// index of import:
|
||||
'general_index_title' => 'Import a file',
|
||||
'general_index_intro' => 'Welcome to Firefly III\'s import routine. There are a few ways of importing data into Firefly III, displayed here as buttons.',
|
||||
'bad_job_status' => 'You cannot access this page when the job is at this point. Sorry!',
|
||||
|
||||
// import provider strings (index):
|
||||
'button_fake' => 'Fake an import',
|
||||
@@ -217,7 +218,7 @@ return [
|
||||
'do_config_quovo' => 'Configuration for imports from Quovo',
|
||||
|
||||
// job configuration:
|
||||
'job_configuration_breadcrumb' => 'Configuration for job ":key"',
|
||||
'job_configuration_breadcrumb' => 'Configuration for job ":key"',
|
||||
|
||||
// import index page:
|
||||
'index_breadcrumb' => 'Index',
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('import.job.configuration.post', job.key) }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||
<form method="POST" action="{{ route('import.job.configuration.post', importJob.key) }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('import.job.configuration.post', job.key) }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||
<form method="POST" action="{{ route('import.job.configuration.post', importJob.key) }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
|
||||
var jobStatusUri = '{{ route('import.job.status.json', [importJob.key]) }}';
|
||||
var jobStartUri = '{{ route('import.job.start', [importJob.key]) }}';
|
||||
|
||||
var jobConfigurationUri = '{{ route('import.job.configuration.index', [importJob.key]) }}';
|
||||
|
||||
// some useful translations.
|
||||
{#var langImportTimeOutError = '(time out thing)';#}
|
||||
@@ -178,7 +178,7 @@
|
||||
{#var langImportMultiError = '{{ trans('import.status_errors_multi')|escape('js') }}';#}
|
||||
|
||||
|
||||
{#var jobConfigureUri = '#}{#{{ route('import.configure', [job.key]) }}#}{#';#}
|
||||
|
||||
var token = '{{ csrf_token() }}';
|
||||
var job = {{ job|json_encode|raw }};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user