diff --git a/webapp/web/css/individual/individual.css b/webapp/web/css/individual/individual.css
index 5a9ae69fc..8ed14469d 100644
--- a/webapp/web/css/individual/individual.css
+++ b/webapp/web/css/individual/individual.css
@@ -39,7 +39,7 @@
#individual-intro h1 {
padding-bottom: 8px;
}
-#individual-intro span.most-specific-type {
+#individual-intro span.display-title {
padding-left: 10px;
margin-left: 10px;
}
@@ -191,7 +191,7 @@ ul#additional-emails li {
#individual-info.withThumb {
width: 78%;
}
-h1.fn .most-specific-type {
+h1.fn .display-title {
padding-left: 10px;
margin-left: 10px;
}
diff --git a/webapp/web/css/search.css b/webapp/web/css/search.css
index 1819eec6e..483cb8088 100644
--- a/webapp/web/css/search.css
+++ b/webapp/web/css/search.css
@@ -52,7 +52,7 @@ div.searchTips li {
}
/* Search results */
-.most-specific-type {
+.display-title {
font-size: .825em;
color: #5e6363;
border-left: 1px solid #A6B1B0;
@@ -60,5 +60,3 @@ div.searchTips li {
padding-right: .35em;
}
-
- */
\ No newline at end of file
diff --git a/webapp/web/templates/freemarker/lib/lib-properties.ftl b/webapp/web/templates/freemarker/lib/lib-properties.ftl
index 87f1d660d..32e08b53b 100644
--- a/webapp/web/templates/freemarker/lib/lib-properties.ftl
+++ b/webapp/web/templates/freemarker/lib/lib-properties.ftl
@@ -27,6 +27,13 @@
Macros for generating property lists
------------------------------------------------------------------------------>
+<#macro dataPropertyListing property editable>
+ <#if property?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
+ <@addLinkWithLabel property editable />
+ <@dataPropertyList property editable />
+ #if>
+#macro>
+
<#macro dataPropertyList property editable>
<#list property.statements as statement>
<@propertyListItem property statement editable >${statement.value}@propertyListItem>
@@ -85,7 +92,7 @@ name will be used as the label. -->
<#macro addLinkWithLabel property editable label="${property.name?capitalize}" extraParams="">
<#local addLink><@addLink property editable label extraParams />#local>
<#local verboseDisplay><@verboseDisplay property />#local>
- <#-- Display the label when user is in edit mode, even if there's no add link (due to
+ <#-- Changed to display the label when user is in edit mode, even if there's no add link (due to
displayLimitAnnot, for example). Otherwise the display looks odd, since neighboring
properties have labels.
<#if addLink?has_content || verboseDisplay?has_content>
@@ -250,7 +257,8 @@ name will be used as the label. -->
<#-- Most specific types -->
<#macro mostSpecificTypes individual>
<#list individual.mostSpecificTypes as type>
- ${type}
+ ${type}
#list>
#macro>
+
diff --git a/webapp/web/themes/vitro/css/vitroTheme.css b/webapp/web/themes/vitro/css/vitroTheme.css
index 80f783106..f56c909af 100644
--- a/webapp/web/themes/vitro/css/vitroTheme.css
+++ b/webapp/web/themes/vitro/css/vitroTheme.css
@@ -1151,7 +1151,7 @@ ul#alpha-browse-individuals .count-classes {
font-size: 1.375em;
color: #47B6D0;
}
-#individual-intro span.most-specific-type {
+#individual-intro span.display-title {
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 .most-specific-type {
+h1.fn .display-title {
font-size: .825em;
color: #5e6363;
border-left: 1px solid #a6b1b0;