mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-23 11:33:14 +00:00
Merge pull request #141 from WebTools-NG/#94-Export-Episodes-as-well
Fixed #139
This commit is contained in:
commit
09e6f8d17b
4 changed files with 19 additions and 12 deletions
|
@ -125,7 +125,8 @@
|
|||
"OrgTitleNull": "Default \"Original Title\" to \"Title\", if empty",
|
||||
"SortTitleNull": "Default \"Sort Title\" to \"Title\", if empty",
|
||||
"AutoXLSCol": "Autosize column (xlsx only)",
|
||||
"AutoXLSRow": "Autosize row (xlsx only)"
|
||||
"AutoXLSRow": "Autosize row (xlsx only)",
|
||||
"NotAvailIndicator": "What to use if a field can't be found"
|
||||
},
|
||||
"LevelInfo": "Export level determines which data are going to be exported.",
|
||||
"ExportLevel": "Export Level",
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
<template>
|
||||
<b-container fluid>
|
||||
<div class="col-lg-10 col-md-12 col-xs-12">
|
||||
<h2>{{ $t("Modules.ET.Name") }} <br>
|
||||
<h3>{{ $t("Modules.ET.Name") }} <br>
|
||||
<small>{{ $t("Modules.ET.Description") }}</small>
|
||||
</h2>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
</h3>
|
||||
<br />
|
||||
<div> <!-- Media type to export -->
|
||||
<b-form-group id="etTypeGroup" v-bind:label="$t('Modules.ET.HSelectMedia')" label-size="lg" label-class="font-weight-bold pt-0">
|
||||
<b-tooltip target="etTypeGroup" triggers="hover">
|
||||
|
@ -65,7 +62,8 @@
|
|||
:disabled="btnDisable == true"
|
||||
variant="success"
|
||||
>{{ $t("Modules.ET.HExportMedia") }}</b-button>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<b-container fluid>
|
||||
<b-row>
|
||||
<b-col sm="2">
|
||||
|
@ -84,7 +82,7 @@
|
|||
</b-row>
|
||||
</b-container>
|
||||
</div>
|
||||
</b-container>
|
||||
</b-container>
|
||||
|
||||
</template>
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
<b-input-group id="ArraySepGrp" :prepend="$t('Modules.ET.Settings.ArraySep')" class="mt-3">
|
||||
<b-form-input id="ArraySep" name="ArraySep" type="text" class="form-control" v-model="ArraySep" :disabled=false :maxlength=1 @change="setArraySep()"></b-form-input>
|
||||
</b-input-group>
|
||||
<b-input-group id="NotAvailIndicatorGrp" :prepend="$t('Modules.ET.Settings.NotAvailIndicator')" class="mt-3">
|
||||
<b-form-input id="NotAvailIndicator" name="NotAvailIndicator" type="text" class="form-control" v-model="NotAvailIndicator" :disabled=false @change="setNotAvailIndicator()"></b-form-input>
|
||||
</b-input-group>
|
||||
<b-input-group id="ColumnSepGrp" :prepend="$t('Modules.ET.Settings.ColumnSep')" class="mt-3">
|
||||
<b-form-input id="ColumnSep" name="ColumnSep" type="text" class="form-control" v-model="ColumnSep" :disabled=false :maxlength=1 @change="setColumnSep"></b-form-input>
|
||||
</b-input-group>
|
||||
|
@ -54,9 +57,8 @@
|
|||
return {
|
||||
outDirVal: wtconfig.get('ET.OutPath', i18n.t('Modules.ET.Settings.SelectOutDir')),
|
||||
ArraySep: wtconfig.get('ET.ArraySep'),
|
||||
// ColumnSep: wtconfig.get('ET.ColumnSep'),
|
||||
ColumnSep: '',
|
||||
//ColumnSep1: this.computedColumnSep,
|
||||
NotAvailIndicator: wtconfig.get('ET.NotAvail', 'N/A'),
|
||||
ColumnSep: '',
|
||||
TimeOut: wtconfig.get('PMS.TimeOut'),
|
||||
cbSelected: [],
|
||||
cbOptions: [
|
||||
|
@ -121,6 +123,9 @@
|
|||
setArraySep: function(){
|
||||
wtconfig.set('ET.ArraySep', this.ArraySep)
|
||||
},
|
||||
setNotAvailIndicator: function(){
|
||||
wtconfig.set('ET.NotAvail', this.NotAvailIndicator)
|
||||
},
|
||||
setTimeOut: function(){
|
||||
wtconfig.set('PMS.TimeOut', this.TimeOut)
|
||||
}
|
||||
|
|
|
@ -227,6 +227,9 @@ const wtutils = new class WTUtils {
|
|||
if ( wtconfig.get('ET.OutPath', 'N/A') == 'N/A' ){
|
||||
wtconfig.set('ET.OutPath', '')
|
||||
}
|
||||
if ( wtconfig.get('ET.NotAvail', 'N/A') == 'N/A' ){
|
||||
wtconfig.set('ET.NotAvail', 'N/A')
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue