Fix download transcript bug - EDUCATOR-2071

This commit is contained in:
Mushtaq Ali
2018-01-08 19:16:13 +05:00
parent 0ab6b825fa
commit f76d419bc7
2 changed files with 25 additions and 8 deletions

View File

@@ -29,14 +29,7 @@
<div class='transcript-actions'>
<a
class="button-link download-transcript-button"
href="<%- StringUtils.interpolate(
'{transcriptDownloadHandlerUrl}?edx_video_id={edxVideoID}&language_code={transcriptLanguageCode}',
{
transcriptDownloadHandlerUrl: transcriptDownloadHandlerUrl,
edxVideoID: edxVideoID,
transcriptLanguageCode: transcriptLanguageCode
}
) %>"
href="<%- getTranscriptDownloadLink(edxVideoID, transcriptLanguageCode, transcriptDownloadHandlerUrl) %>"
>
<%- gettext('Download') %>
</a>