Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
1ca83098
Commit
1ca83098
authored
Sep 13, 2023
by
Kevin Gutierrez
Browse files
Add link to transcode files
parent
cb93d13e
Changes
1
Hide whitespace changes
Inline
Side-by-side
wagtailvideos/templates/wagtailvideos/videos/edit.html
View file @
1ca83098
...
@@ -83,7 +83,15 @@
...
@@ -83,7 +83,15 @@
<ul>
<ul>
{% for transcode in transcodes %}
{% for transcode in transcodes %}
<li>
<li>
{% blocktrans with media_format=transcode.media_format quality=transcode.quality %}{{ media_format }} ({{ quality }} quality){% endblocktrans %}
{% if transcode.file %}
<a
href=
"{{ transcode.url }}"
target=
"_blank"
>
{% endif %}
{% blocktrans with media_format=transcode.media_format quality=transcode.quality %}
{{ media_format }} ({{ quality }} quality)
{% endblocktrans %}
{% if transcode.file %}
</a>
{% endif %}
{% if transcode.processing %}
{% if transcode.processing %}
<span
class=
"processing"
>
{% trans "(Processing... hold tight)" %}
</span>
<span
class=
"processing"
>
{% trans "(Processing... hold tight)" %}
</span>
{% endif %}
{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment