mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 20:00:15 +00:00
add original youtube link if available, #81
This commit is contained in:
parent
e3f9bd98de
commit
407325e0a9
@ -31,7 +31,11 @@
|
|||||||
false
|
false
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
<p>Channel id: {{ channel_info.channel_id }}</p>
|
{% if channel_info.channel_active %}
|
||||||
|
<p>Youtube: <a href="https://www.youtube.com/channel/{{ channel_info.channel_id }}" target="_blank">Active</a></p>
|
||||||
|
{% else %}
|
||||||
|
<p>Youtube: Deactivated</p>
|
||||||
|
{% endif %}
|
||||||
<button onclick="deleteConfirm()" id="delete-item">Delete Channel</button>
|
<button onclick="deleteConfirm()" id="delete-item">Delete Channel</button>
|
||||||
<div class="delete-confirm" id="delete-button">
|
<div class="delete-confirm" id="delete-button">
|
||||||
<span>Delete {{ channel_info.channel_name }} including all videos? </span><button class="danger-button" onclick="deleteChannel(this)" data-id="{{ channel_info.channel_id }}">Delete</button> <button onclick="cancelDelete()">Cancel</button>
|
<span>Delete {{ channel_info.channel_name }} including all videos? </span><button class="danger-button" onclick="deleteChannel(this)" data-id="{{ channel_info.channel_id }}">Delete</button> <button onclick="cancelDelete()">Cancel</button>
|
||||||
|
@ -31,6 +31,11 @@
|
|||||||
false
|
false
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
{% if playlist_info.playlist_active %}
|
||||||
|
<p>Youtube: <a href="https://www.youtube.com/playlist?list={{ playlist_info.playlist_id }}" target="_blank">Active</a></p>
|
||||||
|
{% else %}
|
||||||
|
<p>Youtube: Deactivated</p>
|
||||||
|
{% endif %}
|
||||||
<button onclick="deleteConfirm()" id="delete-item">Delete Playlist</button>
|
<button onclick="deleteConfirm()" id="delete-item">Delete Playlist</button>
|
||||||
<div class="delete-confirm" id="delete-button">
|
<div class="delete-confirm" id="delete-button">
|
||||||
<span>Delete {{ playlist_info.playlist_name }}?</span>
|
<span>Delete {{ playlist_info.playlist_name }}?</span>
|
||||||
|
@ -38,11 +38,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
{% if video.active %}
|
{% if video.active %}
|
||||||
<p>Youtube: Active</p>
|
<p>Youtube: <a href="https://www.youtube.com/watch?v={{ video.youtube_id }}" target="_blank">Active</a></p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Youtube: Deactivated</p>
|
<p>Youtube: Deactivated</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p>Video ID: {{ video.youtube_id }}</p>
|
|
||||||
<button onclick="deleteConfirm()" id="delete-item">Delete Video</button>
|
<button onclick="deleteConfirm()" id="delete-item">Delete Video</button>
|
||||||
<div class="delete-confirm" id="delete-button">
|
<div class="delete-confirm" id="delete-button">
|
||||||
<span>Are you sure? </span><button class="danger-button" onclick="deleteVideo(this)" data-id="{{ video.youtube_id }}" data-redirect = "{{ video.channel.channel_id }}">Delete</button> <button onclick="cancelDelete()">Cancel</button>
|
<span>Are you sure? </span><button class="danger-button" onclick="deleteVideo(this)" data-id="{{ video.youtube_id }}" data-redirect = "{{ video.channel.channel_id }}">Delete</button> <button onclick="cancelDelete()">Cancel</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user