aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/comments.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-10-21 19:58:31 -0700
committerJames Taylor <user234683@users.noreply.github.com>2020-10-21 19:58:31 -0700
commitd3230e8daf6af80f397ec41df2b8a3872b5b9483 (patch)
tree22d1d3abb00a2cdbae1211192cd43915198fa443 /youtube/templates/comments.html
parent8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0 (diff)
downloadyt-local-d3230e8daf6af80f397ec41df2b8a3872b5b9483.tar.lz
yt-local-d3230e8daf6af80f397ec41df2b8a3872b5b9483.tar.xz
yt-local-d3230e8daf6af80f397ec41df2b8a3872b5b9483.zip
Remove commenting system. Because:
- Actually using it will result in comments being shadowbanned, even those posted from Youtube's interfacs, because your account gets downranked since no analytics are present so it looks like a bot posting the comment. - It's been broken for awhile
Diffstat (limited to 'youtube/templates/comments.html')
-rw-r--r--youtube/templates/comments.html24
1 files changed, 1 insertions, 23 deletions
diff --git a/youtube/templates/comments.html b/youtube/templates/comments.html
index 32a67ad..8780e37 100644
--- a/youtube/templates/comments.html
+++ b/youtube/templates/comments.html
@@ -28,12 +28,9 @@
<a href="{{ comment['replies_url'] }}" class="replies-open-new-tab" target="_blank">Open in new tab</a>
<div class="comment_page">loading..</div>
</details>
- {% else %}
+ {% elif comment['reply_count'] %}
<a href="{{ comment['replies_url'] }}" class="replies">{{ comment['view_replies_text'] }}</a>
{% endif %}
- {% if 'delete_url' is in comment %}
- <a href="{{ comment['delete_url'] }}" target="_blank">Delete</a>
- {% endif %}
</div>
</div>
@@ -56,25 +53,6 @@
{% endif %}
{% endmacro %}
-{% macro comment_posting_box(info) %}
- <form action="{{ info['form_action'] }}" method="post" class="comment-form">
- <div id="comment-account-options">
- <label for="account-selection">Account:</label>
- <select id="account-selection" name="channel_id">
- {% for account in info['accounts'] %}
- <option value="{{ account[0] }}">{{ account[1] }}</option>
- {% endfor %}
- </select>
- <a href="/https://youtube.com/login" target="_blank">Add account</a>
- </div>
- <textarea name="comment_text"></textarea>
- {% if info['include_video_id_input'] %}
- <input type="hidden" name="video_id" value="{{ info['video_id'] }}">
- {% endif %}
- <button type="submit" class="post-comment-button">{{ 'Post reply' if info['replying'] else 'Post comment' }}</button>
- </form>
-{% endmacro %}
-