Moved display of personInPosition and hasResearchArea properties to a macro. Adjusted css selectors accordingly to align with auto-generated ids.
This commit is contained in:
parent
00998c2cb0
commit
c633d3fbd0
2 changed files with 9 additions and 19 deletions
|
@ -111,12 +111,7 @@
|
|||
|
||||
<#-- Positions -->
|
||||
<#assign positions = propertyGroups.getPropertyAndRemoveFromList("${core}personInPosition")!>
|
||||
<#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||
<h2 id="${positions.localName}">${positions.name?capitalize} <@p.addLink positions editable /></h2>
|
||||
<ul id="individual-positions" role="list">
|
||||
<@p.objectProperty positions editable />
|
||||
</ul>
|
||||
</#if>
|
||||
<@p.objectPropertyListing positions editable />
|
||||
</header>
|
||||
|
||||
<#-- Overview -->
|
||||
|
@ -124,12 +119,7 @@
|
|||
|
||||
<#-- Research Areas -->
|
||||
<#assign researchAreas = propertyGroups.getPropertyAndRemoveFromList("${core}hasResearchArea")!>
|
||||
<#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||
<h2 id="${researchAreas.localName}">${researchAreas.name?capitalize} <@p.addLink researchAreas editable /></h2>
|
||||
<ul id="individual-areas" role="list">
|
||||
<@p.objectProperty researchAreas editable "propStatement-simple.ftl" />
|
||||
</ul>
|
||||
</#if>
|
||||
<@p.objectPropertyListing researchAreas editable />
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
|
|
@ -1078,14 +1078,14 @@ h1.fn .preferred-title {
|
|||
font-size: 1.125em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
ul#individual-positions{
|
||||
ul#individual-personInPosition {
|
||||
font-size: 1em;
|
||||
list-style: url("../../../images/individual/arrow-green.gif");
|
||||
}
|
||||
ul#individual-positions li{
|
||||
ul#individual-personInPosition li{
|
||||
line-height: 1.8em;
|
||||
}
|
||||
ul#individual-positions li a{
|
||||
ul#individual-personInPosition li a{
|
||||
color: #2485ae;
|
||||
}
|
||||
.individual-overview{
|
||||
|
@ -1094,16 +1094,16 @@ ul#individual-positions li a{
|
|||
padding-top: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
ul#individual-areas{
|
||||
ul#individual-hasResearchArea{
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
ul#individual-areas li{
|
||||
ul#individual-hasResearchArea li{
|
||||
border-right: 1px solid #A6B1B0;
|
||||
}
|
||||
ul#individual-areas li:last-child{
|
||||
ul#individual-hasResearchArea li:last-child{
|
||||
border-right: none;
|
||||
}
|
||||
ul#individual-areas li a{
|
||||
ul#individual-hasResearchArea li a{
|
||||
color: #2485ae;
|
||||
}
|
||||
/* INDIVIDUAL VISUALIZATION ------> */
|
||||
|
|
Loading…
Add table
Reference in a new issue