mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-3177 Add request status
This commit is contained in:
@@ -236,9 +236,7 @@
|
|||||||
<p class="item">
|
<p class="item">
|
||||||
<label>{{ "prod:videoeditor:subtitleRequestTab:label:: Kind" | trans }}</label>
|
<label>{{ "prod:videoeditor:subtitleRequestTab:label:: Kind" | trans }}</label>
|
||||||
<select name="subtitle_kindr" id="subtitle_kindr">
|
<select name="subtitle_kindr" id="subtitle_kindr">
|
||||||
<option value="fr">Fr</option>
|
<option value="autosubtitling">{{ "prod:videoeditor:subtitleRequestTab:: Autosubtitling" | trans }}</option>
|
||||||
<option value="en">En</option>
|
|
||||||
<option value="de">De</option>
|
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<p class="item">
|
<p class="item">
|
||||||
@@ -252,9 +250,9 @@
|
|||||||
<p class="item">
|
<p class="item">
|
||||||
<label>{{ "prod:videoeditor:subtitleRequestTab:label:: Language destination" | trans }}</label>
|
<label>{{ "prod:videoeditor:subtitleRequestTab:label:: Language destination" | trans }}</label>
|
||||||
<select name="subtitle_language_destination" id="subtitle_language_destination">
|
<select name="subtitle_language_destination" id="subtitle_language_destination">
|
||||||
<option value="fr">Fr</option>
|
{% for videoTextTrackField in videoTextTrackFields %}
|
||||||
<option value="en">En</option>
|
<option value="{{ videoTextTrackField.meta_struct_id}}">{{ videoTextTrackField.label}}</option>
|
||||||
<option value="de">De</option>
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<div class="video-subtitle-center-button">
|
<div class="video-subtitle-center-button">
|
||||||
@@ -262,6 +260,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<input type="hidden" value='{{ record.get_sbas_id() }}' name='record_sbas_id'>
|
<input type="hidden" value='{{ record.get_sbas_id() }}' name='record_sbas_id'>
|
||||||
<input type="hidden" value='{{ record.get_record_id() }}' name='record_record_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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -370,6 +371,7 @@
|
|||||||
},
|
},
|
||||||
success: function success(data) {
|
success: function success(data) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
$('#request-status').removeClass('hide');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user