mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
added singlefile field type choose option
This commit is contained in:
parent
e625fc7fd6
commit
ecba328fee
@ -1,12 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'choose_file' => 'Which file would you like to use?',
|
||||
'choose_folder' => 'Which folder would you like to upload to?',
|
||||
'upload' => 'Click or drop files here to upload.',
|
||||
'choose_file' => 'Which file would you like to use?',
|
||||
'choose_folder' => 'Which folder would you like to upload to?',
|
||||
'upload' => 'Click or drop files here to upload.',
|
||||
'no_file_selected' => 'No file selected.',
|
||||
'no_uploads' => 'No files uploaded.',
|
||||
'overwrite' => 'has already been uploaded. Would you like to overwrite it?',
|
||||
'uploading' => 'Uploading',
|
||||
'loading' => 'Loading',
|
||||
'no_uploads' => 'No files uploaded.',
|
||||
'overwrite' => 'has already been uploaded. Would you like to overwrite it?',
|
||||
'uploading' => 'Uploading',
|
||||
'loading' => 'Loading',
|
||||
'choose_file_option' => 'Choose File Option',
|
||||
];
|
||||
|
||||
@ -9,4 +9,5 @@ return [
|
||||
'overwrite' => 'daha önce yüklenmiş. Üzerine kaydetmek ister misiniz?',
|
||||
'uploading' => 'Karşıya Yükleniyor',
|
||||
'loading' => 'Yükleniyor',
|
||||
'choose_file_option' => 'Bir Dosya Seçin',
|
||||
];
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
<a data-toggle="modal"
|
||||
data-target="#{{ field_type.input_name }}-modal" {% if field_type.config.folders|length == 1 %} href="{{ url('streams/singlefile-field_type/upload/' ~ field_type.config.folders|first) }}" {% else %} href="{{ url('streams/singlefile-field_type/choose/' ~ field_type.config_key) }}" {% endif %}
|
||||
class="btn btn-success btn-xs">{{ trans('visiosoft.field_type.singlefile::button.upload') }}</a>
|
||||
{{ trans('visiosoft.field_type.singlefile::message.choose_file_option') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user