mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-02-05 07:51:18 +00:00
Folded in redundant forum headers
This commit is contained in:
parent
62b9fc1f35
commit
498202a9f7
2 changed files with 3 additions and 9 deletions
|
@ -27,12 +27,8 @@
|
|||
|
||||
div#categories {
|
||||
|
||||
h3 {
|
||||
margin: 0.75em 0;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
div.category {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue