VIVO-748: enable display of bulleted items on data properties
This commit is contained in:
parent
fc66530304
commit
84e2aa4967
2 changed files with 27 additions and 1 deletions
|
@ -285,3 +285,19 @@ a#manageLabels {
|
|||
div#openSocial {
|
||||
display:inline-block;
|
||||
}
|
||||
/* MISC */
|
||||
ul.tinyMCEDisc {
|
||||
list-style-type: disc;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
ol.tinyMCENumeric {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
ul.tinyMCEDisc li {
|
||||
padding: 0 !important;
|
||||
margin-left: 30px;
|
||||
}
|
||||
ol.tinyMCENumeric li {
|
||||
padding: 0 !important;
|
||||
margin-left: 30px;
|
||||
}
|
|
@ -9,7 +9,17 @@
|
|||
<@showStatement statement />
|
||||
|
||||
<#macro showStatement statement>
|
||||
${statement.value!}
|
||||
<#assign theValue = statement.value />
|
||||
<#if theValue?contains("<ul>") >
|
||||
<#assign theValue = theValue?replace("<ul>","<ul class='tinyMCEDisc'>") />
|
||||
</#if>
|
||||
<#if theValue?contains("<ol>") >
|
||||
<#assign theValue = theValue?replace("<ol>","<ol class='tinyMCENumeric'>") />
|
||||
</#if>
|
||||
<#if theValue?contains("<p>") >
|
||||
<#assign theValue = theValue?replace("<p>","")?replace("</p>","") />
|
||||
</#if>
|
||||
${theValue}
|
||||
</#macro>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue