NIHVIVO-2744 Display of mostSpecificType(s) on individual profile (in place of former moniker).
This commit is contained in:
parent
d74f5f3072
commit
5998f8b095
14 changed files with 95 additions and 34 deletions
|
@ -39,7 +39,7 @@
|
|||
#individual-intro h1 {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
#individual-intro span.preferred-title {
|
||||
#individual-intro span.most-specific-type {
|
||||
padding-left: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
@ -188,7 +188,7 @@ ul#additional-emails li {
|
|||
#individual-info.withThumb {
|
||||
width: 78%;
|
||||
}
|
||||
h1.fn .preferred-title {
|
||||
h1.fn .most-specific-type {
|
||||
padding-left: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
|
|
@ -31,10 +31,8 @@
|
|||
<#-- Label -->
|
||||
<@p.label individual editable />
|
||||
|
||||
<#-- Moniker -->
|
||||
<#if individual.moniker?has_content>
|
||||
<span class="preferred-title">${individual.moniker}</span>
|
||||
</#if>
|
||||
<#-- Most-specific types -->
|
||||
<@p.mostSpecificTypes individual />
|
||||
</h1>
|
||||
</#if>
|
||||
</header>
|
||||
|
|
|
@ -240,3 +240,11 @@ name will be used as the label. -->
|
|||
<@editingLinks "label" label editable />
|
||||
</#macro>
|
||||
|
||||
<#-- Most specific types -->
|
||||
<#macro mostSpecificTypes individual>
|
||||
<#local types = individual.mostSpecificTypes />
|
||||
<#list types as type>
|
||||
<span class="most-specific-type">${type}</span>
|
||||
</#list>
|
||||
</#macro>
|
||||
|
||||
|
|
|
@ -1151,7 +1151,7 @@ ul#alpha-browse-individuals .count-classes {
|
|||
font-size: 1.375em;
|
||||
color: #47B6D0;
|
||||
}
|
||||
#individual-intro span.preferred-title {
|
||||
#individual-intro span.most-specific-type {
|
||||
font-size: .825em;
|
||||
color: #5e6363;
|
||||
border-left: 1px solid #A6B1B0;
|
||||
|
@ -1224,7 +1224,7 @@ ul.individual-urls-people li a {
|
|||
color: #006279;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
h1.fn .preferred-title {
|
||||
h1.fn .most-specific-type {
|
||||
font-size: .825em;
|
||||
color: #5e6363;
|
||||
border-left: 1px solid #a6b1b0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue