add link
This commit is contained in:
parent
078a90f09a
commit
c9c138eaed
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Aircox 0.1\n"
|
"Project-Id-Version: Aircox 0.1\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-01-06 14:14+0100\n"
|
"POT-Creation-Date: 2020-01-30 20:12+0100\n"
|
||||||
"PO-Revision-Date: 2016-10-10 16:00+02\n"
|
"PO-Revision-Date: 2016-10-10 16:00+02\n"
|
||||||
"Last-Translator: Aarys\n"
|
"Last-Translator: Aarys\n"
|
||||||
"Language-Team: Aircox's translators team\n"
|
"Language-Team: Aircox's translators team\n"
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-01-06 14:15+0100\n"
|
"POT-Creation-Date: 2020-01-30 20:13+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -56,63 +56,67 @@ msgid ""
|
||||||
"file as raw code; plugin related"
|
"file as raw code; plugin related"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:19
|
#: templates/aircox_streamer/source_item.html:18
|
||||||
|
msgid "Edit related program"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/aircox_streamer/source_item.html:27
|
||||||
msgid "Synchronize source with Liquidsoap"
|
msgid "Synchronize source with Liquidsoap"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:23
|
#: templates/aircox_streamer/source_item.html:31
|
||||||
msgid "Synchronise"
|
msgid "Synchronise"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:26
|
#: templates/aircox_streamer/source_item.html:34
|
||||||
msgid "Restart current track"
|
msgid "Restart current track"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:30
|
#: templates/aircox_streamer/source_item.html:38
|
||||||
msgid "Restart"
|
msgid "Restart"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:33
|
#: templates/aircox_streamer/source_item.html:41
|
||||||
msgid "Skip current file"
|
msgid "Skip current file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:34
|
#: templates/aircox_streamer/source_item.html:42
|
||||||
msgid "Skip"
|
msgid "Skip"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:43
|
#: templates/aircox_streamer/source_item.html:51
|
||||||
msgid "Add sound"
|
msgid "Add sound"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:51
|
#: templates/aircox_streamer/source_item.html:59
|
||||||
msgid "Select a sound"
|
msgid "Select a sound"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:53
|
#: templates/aircox_streamer/source_item.html:61
|
||||||
msgid "Add a sound to the queue (queue may start playing)"
|
msgid "Add a sound to the queue (queue may start playing)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:62
|
#: templates/aircox_streamer/source_item.html:70
|
||||||
msgid "Add"
|
msgid "Add"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:68
|
#: templates/aircox_streamer/source_item.html:76
|
||||||
msgid "Sounds in queue"
|
msgid "Sounds in queue"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:86
|
#: templates/aircox_streamer/source_item.html:94
|
||||||
msgid "Status"
|
msgid "Status"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:96
|
#: templates/aircox_streamer/source_item.html:104
|
||||||
msgid "Air time"
|
msgid "Air time"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:106
|
#: templates/aircox_streamer/source_item.html:114
|
||||||
msgid "Time left"
|
msgid "Time left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/aircox_streamer/source_item.html:114
|
#: templates/aircox_streamer/source_item.html:122
|
||||||
msgid "Data source"
|
msgid "Data source"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ class SourceSerializer(BaseMetadataSerializer):
|
||||||
|
|
||||||
|
|
||||||
class PlaylistSerializer(SourceSerializer):
|
class PlaylistSerializer(SourceSerializer):
|
||||||
program = serializers.CharField(source='program.title')
|
program = serializers.CharField(source='program.id')
|
||||||
|
|
||||||
url_name = 'admin:api:streamer-playlist-detail'
|
url_name = 'admin:api:streamer-playlist-detail'
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,14 @@
|
||||||
[[ source.id ]]
|
[[ source.id ]]
|
||||||
|
|
||||||
<small v-if="source.isPaused || source.isPlaying">(-[[ source.remainingString ]])</small>
|
<small v-if="source.isPaused || source.isPlaying">(-[[ source.remainingString ]])</small>
|
||||||
|
|
||||||
|
<a v-if="source.data.program !== undefined"
|
||||||
|
:href="'{% url 'admin:aircox_program_change' "$$" %}'.replace('$$', source.data.program)"
|
||||||
|
title="{% trans "Edit related program" %}">
|
||||||
|
<span class="icon">
|
||||||
|
<span class="fas fa-edit"></span>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user