Folded in redundant forum headers

This commit is contained in:
Luke Barratt 2014-05-04 13:01:41 +01:00
parent 62b9fc1f35
commit 498202a9f7
2 changed files with 3 additions and 9 deletions

View file

@ -27,12 +27,8 @@
div#categories { div#categories {
h3 { div.category {
margin: 0.75em 0; margin-bottom: 20px;
&:first-child {
margin-top: 0;
}
} }
/* /*

View file

@ -5,13 +5,11 @@
<% forums = cuser ? cat.forums.available_to(cuser, Forumer::ACCESS_READ).ordered : cat.forums.public.ordered %> <% forums = cuser ? cat.forums.available_to(cuser, Forumer::ACCESS_READ).ordered : cat.forums.public.ordered %>
<% next if forums.length == 0 %> <% next if forums.length == 0 %>
<h3><%=h cat.name %></h3>
<div class="category"> <div class="category">
<table class="category striped"> <table class="category striped">
<thead> <thead>
<tr> <tr>
<th></th> <th colspan="2" class="forums"><%=h cat.name %></th>
<th class="forums">Forums</th>
<th class="actions"></th> <th class="actions"></th>
<th class="topics">Topics</th> <th class="topics">Topics</th>
<th class="posts">Posts</th> <th class="posts">Posts</th>