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