mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
Remove configuration for including space - change configuration option name
This commit is contained in:
@@ -480,10 +480,12 @@ public class ItemTag extends TagSupport
|
|||||||
{
|
{
|
||||||
if (j > 0)
|
if (j > 0)
|
||||||
{
|
{
|
||||||
if (isNoBreakLine){
|
if (isNoBreakLine){
|
||||||
boolean includeSpace = Boolean.valueOf(ConfigurationManager.getProperty("webui.itemdisplay.inclusespace")).booleanValue();
|
String separator = ConfigurationManager.getProperty("webui.itemdisplay.nobreakline.separator");
|
||||||
String separator = ConfigurationManager.getProperty("webui.itemdisplay.separator");
|
if (separator==null){
|
||||||
out.print((includeSpace?" ":"")+separator+" ");
|
separator = "; "
|
||||||
|
}
|
||||||
|
out.print(separator);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
out.print("<br />");
|
out.print("<br />");
|
||||||
|
@@ -1424,10 +1424,11 @@ report.dir = ${dspace.dir}/reports/
|
|||||||
# If a metadata value with style: "doi", "handle" or "resolver" matches a URL
|
# If a metadata value with style: "doi", "handle" or "resolver" matches a URL
|
||||||
# already, it is simply rendered as a link with no other manipulation.
|
# already, it is simply rendered as a link with no other manipulation.
|
||||||
|
|
||||||
# If nobreakline option is applied for a field in itemdisplay then the following options define the separator string
|
# If nobreakline option is applied for a field in itemdisplay then the following option defines the separator string.
|
||||||
# and if we want a space before the separator
|
# If a non-breaking space is needed before or after the separator, this can be included using
|
||||||
webui.itemdisplay.inclusespace = false
|
# (i.e. webui.itemdisplay.separator = ; )
|
||||||
webui.itemdisplay.separator = ;
|
# If ommitted, the default separator is '; '
|
||||||
|
webui.itemdisplay.nobreakline.separator = ;
|
||||||
|
|
||||||
# Specify which strategy use for select the style for an item
|
# Specify which strategy use for select the style for an item
|
||||||
plugin.single.org.dspace.app.webui.util.StyleSelection = \
|
plugin.single.org.dspace.app.webui.util.StyleSelection = \
|
||||||
|
Reference in New Issue
Block a user