fnp
/
audio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d43625
)
Badges on audiobook list.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 5 Jun 2020 22:32:07 +0000
(
00:32
+0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 5 Jun 2020 22:32:07 +0000
(
00:32
+0200)
src/archive/locale/pl/LC_MESSAGES/django.mo
patch
|
blob
|
history
src/archive/locale/pl/LC_MESSAGES/django.po
patch
|
blob
|
history
src/archive/templates/archive/audiobook_list.html
patch
|
blob
|
history
diff --git
a/src/archive/locale/pl/LC_MESSAGES/django.mo
b/src/archive/locale/pl/LC_MESSAGES/django.mo
index
a1c333d
..
666b791
100644
(file)
Binary files a/src/archive/locale/pl/LC_MESSAGES/django.mo and b/src/archive/locale/pl/LC_MESSAGES/django.mo differ
diff --git
a/src/archive/locale/pl/LC_MESSAGES/django.po
b/src/archive/locale/pl/LC_MESSAGES/django.po
index
2aa34bf
..
6fb331d
100644
(file)
--- a/
src/archive/locale/pl/LC_MESSAGES/django.po
+++ b/
src/archive/locale/pl/LC_MESSAGES/django.po
@@
-8,7
+8,7
@@
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-06 00:25+0200\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-06 00:25+0200\n"
-"PO-Revision-Date: 2020-06-06 00:
28
+0200\n"
+"PO-Revision-Date: 2020-06-06 00:
30
+0200\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: \n"
"Language: pl\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: \n"
"Language: pl\n"
@@
-145,7
+145,7
@@
msgstr "audiobooki"
#: templates/archive/audiobook_list.html:10 templates/archive/base.html:6
msgid "Audiobooks"
#: templates/archive/audiobook_list.html:10 templates/archive/base.html:6
msgid "Audiobooks"
-msgstr "
a
udiobooki"
+msgstr "
A
udiobooki"
#: templates/archive/audiobook_list.html:28 templates/archive/book.html:19
msgid "Title"
#: templates/archive/audiobook_list.html:28 templates/archive/book.html:19
msgid "Title"
diff --git
a/src/archive/templates/archive/audiobook_list.html
b/src/archive/templates/archive/audiobook_list.html
index
1521b42
..
f4a49a9
100644
(file)
--- a/
src/archive/templates/archive/audiobook_list.html
+++ b/
src/archive/templates/archive/audiobook_list.html
@@
-1,6
+1,7
@@
{% extends "archive/list.html" %}
{% load i18n %}
{% load pagination_tags %}
{% extends "archive/list.html" %}
{% load i18n %}
{% load pagination_tags %}
+{% load tags %}
{% block menu-active-audiobooks %}active{% endblock %}
{% block menu-active-audiobooks %}active{% endblock %}
@@
-45,28
+46,13
@@
{{ audiobook.youtube_volume }}
</td>
<td>
{{ audiobook.youtube_volume }}
</td>
<td>
- {% if audiobook.mp3_status %}
- <span class="badge badge-info">
- MP3:
- {{ audiobook.get_mp3_status_display }}
- </span>
- {% endif %}
+ {% status audiobook "mp3" %}
</td>
<td>
</td>
<td>
- {% if audiobooks.ogg_status_display %}
- <span class="badge badge-info">
- Ogg:
- {{ audiobook.get_ogg_status_display }}
- </span>
- {% endif %}
+ {% status audiobook "ogg" %}
</td>
<td>
</td>
<td>
- {% if audiobooks.youtube_status %}
- <span class="badge badge-info">
- YT:
- {{ audiobook.get_youtube_status_display }}
- </span>
- {% endif %}
+ {% status audiobook "youtube" %}
</td>
</tr>
{% endfor %}
</td>
</tr>
{% endfor %}