Only display local playlist controls in header on pages with videos
This commit is contained in:
parent
57c37a57e9
commit
33a8898656
@ -93,6 +93,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
{% if header_playlist_names is defined %}
|
||||||
<form id="playlist-edit" action="/youtube.com/edit_playlist" method="post" target="_self">
|
<form id="playlist-edit" action="/youtube.com/edit_playlist" method="post" target="_self">
|
||||||
<input name="playlist_name" id="playlist-name-selection" list="playlist-options" type="text">
|
<input name="playlist_name" id="playlist-name-selection" list="playlist-options" type="text">
|
||||||
<datalist id="playlist-options">
|
<datalist id="playlist-options">
|
||||||
@ -172,6 +173,7 @@
|
|||||||
sendData();
|
sendData();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user