reconcile rendering changes
This commit is contained in:
parent
88e900110f
commit
170bcf19e6
|
@ -289,8 +289,14 @@ public abstract class ResourceRenderer extends DataRenderer {
|
||||||
} else {
|
} else {
|
||||||
CanonicalResource cr = (CanonicalResource) target;
|
CanonicalResource cr = (CanonicalResource) target;
|
||||||
if (!target.hasWebPath()) {
|
if (!target.hasWebPath()) {
|
||||||
x.code().tx(url);
|
if (url.contains("|")) {
|
||||||
x.tx(" ("+cr.present()+")");
|
x.code().tx(cr.getUrl());
|
||||||
|
x.tx(context.formatPhrase(RenderingContext.RES_REND_VER, cr.getVersion()));
|
||||||
|
x.tx(" ("+cr.present()+")");
|
||||||
|
} else {
|
||||||
|
x.code().tx(url);
|
||||||
|
x.tx(" ("+cr.present()+")");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (url.contains("|")) {
|
if (url.contains("|")) {
|
||||||
x.ah(context.prefixLocalHref(target.getWebPath())).tx(cr.present()+ context.formatPhrase(RenderingContext.RES_REND_VER) +cr.getVersion()+")");
|
x.ah(context.prefixLocalHref(target.getWebPath())).tx(cr.present()+ context.formatPhrase(RenderingContext.RES_REND_VER) +cr.getVersion()+")");
|
||||||
|
|
Loading…
Reference in New Issue