mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +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 (isNoBreakLine){
|
||||
boolean includeSpace = Boolean.valueOf(ConfigurationManager.getProperty("webui.itemdisplay.inclusespace")).booleanValue();
|
||||
String separator = ConfigurationManager.getProperty("webui.itemdisplay.separator");
|
||||
out.print((includeSpace?" ":"")+separator+" ");
|
||||
if (isNoBreakLine){
|
||||
String separator = ConfigurationManager.getProperty("webui.itemdisplay.nobreakline.separator");
|
||||
if (separator==null){
|
||||
separator = "; "
|
||||
}
|
||||
out.print(separator);
|
||||
}
|
||||
else {
|
||||
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
|
||||
# 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
|
||||
# and if we want a space before the separator
|
||||
webui.itemdisplay.inclusespace = false
|
||||
webui.itemdisplay.separator = ;
|
||||
# If nobreakline option is applied for a field in itemdisplay then the following option defines the separator string.
|
||||
# If a non-breaking space is needed before or after the separator, this can be included using
|
||||
# (i.e. webui.itemdisplay.separator = ; )
|
||||
# If ommitted, the default separator is '; '
|
||||
webui.itemdisplay.nobreakline.separator = ;
|
||||
|
||||
# Specify which strategy use for select the style for an item
|
||||
plugin.single.org.dspace.app.webui.util.StyleSelection = \
|
||||
|
Reference in New Issue
Block a user