Typo and formatting fix

This commit is contained in:
syeopite 2021-06-25 19:51:36 -07:00
parent 515e617f0d
commit e8d5fa5142
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
2 changed files with 102 additions and 104 deletions

View File

@ -64,7 +64,6 @@
</div>
<div class="h-box" id="content-navigation">
<div class="">
<!-- TODO Refactor this! -->
<div class="pure-menu pure-menu-horizontal">
<ul class="pure-menu-list">
@ -80,7 +79,7 @@
<%= translate(locale, "Home") %>
</a>
</li>
<% end %>
<% end -%>
<% if !channel.auto_generated %>
<% if content_type == 1 %>
@ -96,7 +95,7 @@
</a>
</li>
<% end %>
<% end %>
<% end -%>
<% if content_type == 2 %>
<li class="pure-menu-item pure-menu-selected">
@ -110,7 +109,7 @@
<%= translate(locale, "Playlists") %>
</a>
</li>
<% end %>
<% end -%>
<% if channel.tabs.includes?("community") %>
<% if content_type == 3 %>
@ -126,7 +125,7 @@
</a>
</li>
<% end %>
<% end %>
<% end -%>
<% if content_type == 4 %>
<li class="pure-menu-item pure-menu-selected">
@ -140,7 +139,7 @@
<%= translate(locale, "Channels") %>
</a>
</li>
<% end %>
<% end -%>
<% if content_type == 5 %>
<li class="pure-menu-item pure-menu-selected">
@ -154,7 +153,7 @@
<%= translate(locale, "About") %>
</a>
</li>
<% end %>
<% end -%>
<% if !channel.auto_generated %>
<li class="pure-menu-item" style="margin: 0 0 0 0.5em">
@ -171,7 +170,6 @@
<% end %>
</ul>
</div>
</div>
</div>
<div class="h-box">

View File

@ -13,7 +13,7 @@
<div class="h-box" id="content-navigation">
<div class="pure-menu pure-menu-horizontal">
<ui class="pure-menu-list">
<ul class="pure-menu-list">
<% {"Default", "Music", "Gaming", "Movies"}.each do |option| %>
<% if trending_type == option %>
<li class="pure-menu-item pure-menu-selected">
@ -28,7 +28,7 @@
</li>
<% end %>
<% end %>
</ui>
</ul>
</div>
</div>