mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 07:22:16 +05:30
Hide header search bar when default_home is empty
This commit is contained in:
parent
c0997f951c
commit
e864c7541c
@ -28,6 +28,7 @@
|
||||
<div class="pure-u-1 pure-u-md-2-24"></div>
|
||||
<div class="pure-u-1 pure-u-md-20-24">
|
||||
<div class="pure-g navbar h-box">
|
||||
<% if !env.get("preferences").as(Preferences).default_home.empty? %>
|
||||
<div class="pure-u-1 pure-u-md-4-24">
|
||||
<a href="/" class="index-link pure-menu-heading">Invidious</a>
|
||||
</div>
|
||||
@ -38,6 +39,8 @@
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-8-24 user-field">
|
||||
<% if env.get? "user" %>
|
||||
<div class="pure-u-1-4">
|
||||
|
Loading…
Reference in New Issue
Block a user