mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-02-10 18:20:53 +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 {
|
div#categories {
|
||||||
|
|
||||||
h3 {
|
div.category {
|
||||||
margin: 0.75em 0;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue