mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
added singlefile field type choose option
This commit is contained in:
parent
e625fc7fd6
commit
ecba328fee
@ -9,4 +9,5 @@ return [
|
|||||||
'overwrite' => 'has already been uploaded. Would you like to overwrite it?',
|
'overwrite' => 'has already been uploaded. Would you like to overwrite it?',
|
||||||
'uploading' => 'Uploading',
|
'uploading' => 'Uploading',
|
||||||
'loading' => 'Loading',
|
'loading' => 'Loading',
|
||||||
|
'choose_file_option' => 'Choose File Option',
|
||||||
];
|
];
|
||||||
|
|||||||
@ -9,4 +9,5 @@ return [
|
|||||||
'overwrite' => 'daha önce yüklenmiş. Üzerine kaydetmek ister misiniz?',
|
'overwrite' => 'daha önce yüklenmiş. Üzerine kaydetmek ister misiniz?',
|
||||||
'uploading' => 'Karşıya Yükleniyor',
|
'uploading' => 'Karşıya Yükleniyor',
|
||||||
'loading' => 'Yükleniyor',
|
'loading' => 'Yükleniyor',
|
||||||
|
'choose_file_option' => 'Bir Dosya Seçin',
|
||||||
];
|
];
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
<a data-toggle="modal"
|
<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 %}
|
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>
|
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 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user