diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-06-10 17:04:06 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-06-10 17:04:06 -0700 |
commit | 103b37030fcd073b5f44b9ddc79da0ce15325a96 (patch) | |
tree | f0f577a0e418cc56984673fc031024d7eed2d770 /yt_channel_items_template.html | |
parent | e7989db931132f71c54b8924e5194410cc7f9bbc (diff) | |
download | yt-local-103b37030fcd073b5f44b9ddc79da0ce15325a96.tar.lz yt-local-103b37030fcd073b5f44b9ddc79da0ce15325a96.tar.xz yt-local-103b37030fcd073b5f44b9ddc79da0ce15325a96.zip |
Unsubscribe button on channels if already subscribed
Diffstat (limited to 'yt_channel_items_template.html')
-rw-r--r-- | yt_channel_items_template.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_channel_items_template.html b/yt_channel_items_template.html index 93c4b0a..fc85dd5 100644 --- a/yt_channel_items_template.html +++ b/yt_channel_items_template.html @@ -72,11 +72,11 @@ $header <img class="avatar" src="$avatar"> <div class="metadata"> <h2 class="title">$channel_title</h2> - <form method="POST" action="/youtube.com/subscriptions" class="subscribe"> - <input type="submit" value="Subscribe"> + <form method="POST" action="/youtube.com/subscriptions" class="subscribe-unsubscribe"> + <input type="submit" value="$action_name"> <input type="hidden" name="channel_id" value="$channel_id"> <input type="hidden" name="channel_name" value="$channel_title"> - <input type="hidden" name="action" value="subscribe"> + <input type="hidden" name="action" value="$action"> </form> </div> <nav class="channel-tabs"> |