Consolidated the video and channel attribute edits into one javascript function

This commit is contained in:
2023-03-07 11:29:10 -05:00
parent 8905bed454
commit a9c4b29935
5 changed files with 39 additions and 41 deletions

View File

@ -18,10 +18,10 @@
<div class="video-channel">
<p>Channel: <a href="/channel/<%= video.channel.id %>"><span><%= video.channel.name %></span></a></p>
</div>
<div class="video-serial">
<div class="video-serial" data-attribute="serial" data-type="video">
<p>Serial: <span><%= serialize(video.serial) %></span></p>
</div>
<div class="video-status">
<div class="video-status" data-attribute="status" data-type="video">
<p>Status: <span><%= video.status.capitalize() %></span></p>
</div>
<div class="script-controls">