Compare commits
2 commits
7c741a476f
...
297daaa51b
Author | SHA1 | Date | |
---|---|---|---|
297daaa51b | |||
5a76eb0559 |
6 changed files with 12 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
[bumpversion]
|
||||
current_version = 0.3.0
|
||||
current_version = 0.3.1
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "ucast"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
description = "YouTube to Podcast converter"
|
||||
authors = ["Theta-Dev <t.testboy@gmail.com>"]
|
||||
packages = [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = "0.3.0"
|
||||
__version__ = "0.3.1"
|
||||
|
||||
|
||||
def template_context(request):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="mb-4">
|
||||
<a class="subtitle">{{ n_downloading_videos }} Videos</a>
|
||||
<a class="subtitle">{{ n_tasks }} Tasks</a>
|
||||
</div>
|
||||
<div class="mb-4 overflow-x">
|
||||
<table class="table">
|
||||
|
|
|
@ -35,10 +35,16 @@
|
|||
<div class="video-card-content">
|
||||
|
||||
<div class="level">
|
||||
<div style="max-width: 80%; overflow: hidden">
|
||||
<span class="tag">
|
||||
<i
|
||||
class="fas fa-user"></i> <a href="{% url 'videos' video.channel.slug %}">{{ video.channel.name }}</a>
|
||||
</span>
|
||||
<span class="tag">
|
||||
<i
|
||||
class="fas fa-calendar"></i> {{ video.published|date:"SHORT_DATE_FORMAT" }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="field has-addons">
|
||||
<div class="control">
|
||||
|
|
|
@ -171,7 +171,7 @@ def downloads(request: http.HttpRequest):
|
|||
{
|
||||
"failed_jobs": failed_jobs,
|
||||
"downloading_videos": downloading_videos,
|
||||
"n_downloading_videos": 1,
|
||||
"n_tasks": queue.get_queue().count,
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue