Remove unnecessary spacer when channel is none.

This commit is contained in:
voussoir 2020-08-15 22:28:27 -07:00
parent 5610d756c2
commit de5aba4895

View file

@ -182,9 +182,9 @@ https://stackoverflow.com/a/35153397
{% if channel is not none %} {% if channel is not none %}
<span><button class="refresh_button button_with_spinner" onclick="refresh_channel_form(false)">Refresh new videos</button></span> <span><button class="refresh_button button_with_spinner" onclick="refresh_channel_form(false)">Refresh new videos</button></span>
<span><button class="refresh_button button_with_spinner" onclick="refresh_channel_form(true)">Refresh everything</button></span> <span><button class="refresh_button button_with_spinner" onclick="refresh_channel_form(true)">Refresh everything</button></span>
{% endif %}
<p><!-- spacer --></p> <p><!-- spacer --></p>
{% endif %}
<span>View <span>View
{% if channel is not none %} {% if channel is not none %}
@ -201,9 +201,9 @@ https://stackoverflow.com/a/35153397
{% endfor %} {% endfor %}
</span> </span>
{% if channel is not none %}
<p><!-- spacer --></p> <p><!-- spacer --></p>
{% if channel is not none %}
<span> <span>
New videos are: New videos are:
<select onchange="set_automark_hook(event)"> <select onchange="set_automark_hook(event)">
@ -213,9 +213,9 @@ https://stackoverflow.com/a/35153397
</select> </select>
<span id="set_automark_spinner" class="hidden">Working...</span> <span id="set_automark_spinner" class="hidden">Working...</span>
</span> </span>
{% endif %}
<p><!-- spacer --></p> <p><!-- spacer --></p>
{% endif %}
<span>Sort by <span>Sort by
<a class="merge_params" href="?orderby=published">Date</a> <a class="merge_params" href="?orderby=published">Date</a>