Merge branch '1154-itunes-email' into 'develop'

Fix #1154: Support for specifying itunes:email and itunes:name in channels for...

Closes #1154

See merge request funkwhale/funkwhale!1139
plugins-v3
Agate 2020-06-11 05:49:24 +02:00
commit d145edcd30
2 zmienionych plików z 26 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1 @@
Support for specifying itunes:email and itunes:name in channels for compatibiliy with third-party platforms (#1154)

Wyświetl plik

@ -120,6 +120,31 @@
</select>
</div>
</div>
<div class="ui two fields" v-if="newValues.content_category === 'podcast'">
<div class="ui field">
<label for="channel-itunes-email">
<translate translate-context="*/*/*">Owner email</translate>
</label>
<input
name="channel-itunes-email"
id="channel-itunes-email"
type="email"
v-model="newValues.metadata.owner_email">
</div>
<div class="ui field">
<label for="channel-itunes-name">
<translate translate-context="*/*/*">Owner name</translate>
</label>
<input
name="channel-itunes-name"
id="channel-itunes-name"
maxlength="255"
v-model="newValues.metadata.owner_name">
</div>
</div>
<p>
<translate translate-context="*/*/*">Used for the itunes:email and itunes:name field required by certain platforms such as Spotify or iTunes.</translate>
</p>
</template>
</template>
<div v-else class="ui active inverted dimmer">