mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 01:43:13 +00:00
Merge pull request #3569 from alchemy-fr/PHRAS-3177_prod-video-tools-auto-subtitling
PHRAS-3177 merge prod - video tools - auto subtitling - add info about running autosubtitling request
This commit is contained in:
@@ -236,9 +236,7 @@
|
||||
<p class="item">
|
||||
<label>{{ "prod:videoeditor:subtitleRequestTab:label:: Kind" | trans }}</label>
|
||||
<select name="subtitle_kindr" id="subtitle_kindr">
|
||||
<option value="fr">Fr</option>
|
||||
<option value="en">En</option>
|
||||
<option value="de">De</option>
|
||||
<option value="autosubtitling">{{ "prod:videoeditor:subtitleRequestTab:: Autosubtitling" | trans }}</option>
|
||||
</select>
|
||||
</p>
|
||||
<p class="item">
|
||||
@@ -252,9 +250,9 @@
|
||||
<p class="item">
|
||||
<label>{{ "prod:videoeditor:subtitleRequestTab:label:: Language destination" | trans }}</label>
|
||||
<select name="subtitle_language_destination" id="subtitle_language_destination">
|
||||
<option value="fr">Fr</option>
|
||||
<option value="en">En</option>
|
||||
<option value="de">De</option>
|
||||
{% for videoTextTrackField in videoTextTrackFields %}
|
||||
<option value="{{ videoTextTrackField.meta_struct_id}}">{{ videoTextTrackField.label}}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</p>
|
||||
<div class="video-subtitle-center-button">
|
||||
@@ -262,6 +260,9 @@
|
||||
</div>
|
||||
<input type="hidden" value='{{ record.get_sbas_id() }}' name='record_sbas_id'>
|
||||
<input type="hidden" value='{{ record.get_record_id() }}' name='record_record_id'>
|
||||
<p class="text-center alert-wrapper hide" id="request-status">
|
||||
<span class="alert alert-info">{{ "prod:videoeditor:subtitleRequestTab:: Request in process" | trans }}</span>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -370,6 +371,7 @@
|
||||
},
|
||||
success: function success(data) {
|
||||
console.log(data);
|
||||
$('#request-status').removeClass('hide');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user