aboutsummaryrefslogtreecommitdiffstats
path: root/yt_channel_about_template.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-06-10 17:04:06 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-06-10 17:04:06 -0700
commit103b37030fcd073b5f44b9ddc79da0ce15325a96 (patch)
treef0f577a0e418cc56984673fc031024d7eed2d770 /yt_channel_about_template.html
parente7989db931132f71c54b8924e5194410cc7f9bbc (diff)
downloadyt-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_about_template.html')
-rw-r--r--yt_channel_about_template.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_channel_about_template.html b/yt_channel_about_template.html
index 6ed7a03..e8e721e 100644
--- a/yt_channel_about_template.html
+++ b/yt_channel_about_template.html
@@ -56,11 +56,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">