transcripts-choose.underscore 1.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<div class="transcripts-message-status status-error">
    <i class="icon-remove"></i>
    <%= gettext("Timed Transcript Conflict") %>
</div>

<p class="transcripts-message">
    <%= gettext("The timed transcript for the first HTML5 source does not appear to be the same as the timed transcript for the second HTML5 source.") %>
    <strong>
        <%= gettext("Which one would you like to use?") %>
    </strong>
</p>

<p class="transcripts-error-message is-invisible">
    <%= gettext("Error.") %>
</p>

<div class="wrapper-transcripts-buttons">
    <% _.each(html5_list, function(value, index) {
        var type = grouped_list[value][0].type,
            file_name = value + ((type) ? ('.' + type) : ''),
            message = gettext("Timed Transcript from ") + file_name;
    %>
        <button
            class="action setting-choose"
            type="button"
            name="setting-choose"
            data-video-id="<%= value %>"
            value="<%= message %>"
            data-tooltip="<%= message %>"
        >
            <span>
                <%= message %>
            </span>
        </button>
    <% }) %>
</div>