NIHVIVO-2032: Adjusted padding on headings for index page.
This commit is contained in:
parent
f391d095b0
commit
c748a924dc
2 changed files with 8 additions and 4 deletions
|
@ -62,4 +62,8 @@
|
|||
background-color: #7285a0;
|
||||
padding: .5em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
/* <------ INDEX PAGE*/
|
||||
.siteMap h2 {
|
||||
padding-bottom: 0;
|
||||
}
|
|
@ -5,22 +5,22 @@
|
|||
<#include "classgroups-checkForData.ftl">
|
||||
|
||||
<#if (!noData)>
|
||||
<div class="siteMap">
|
||||
<section class="siteMap" role="region">
|
||||
<#list classGroups as classGroup>
|
||||
<#-- Only render classgroups that have at least one class with individuals -->
|
||||
<#if (classGroup.individualCount > 0)>
|
||||
<h2>${classGroup.publicName}</h2>
|
||||
<ul>
|
||||
<ul role="list">
|
||||
<#list classGroup.classes as class>
|
||||
<#-- Only render classes with individuals -->
|
||||
<#if (class.individualCount > 0)>
|
||||
<li><a href="${class.url}">${class.name}</a> (${class.individualCount})</li>
|
||||
<li role="listitem"><a href="${class.url}">${class.name}</a> (${class.individualCount})</li>
|
||||
</#if>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
</#list>
|
||||
</div>
|
||||
</section>
|
||||
<#else>
|
||||
${noDataNotification}
|
||||
</#if>
|
||||
|
|
Loading…
Add table
Reference in a new issue