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 {
h3 {
margin: 0.75em 0;
&:first-child {
margin-top: 0;
}
div.category {
margin-bottom: 20px;
}
/*

View file

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