File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,14 @@ <h3>Matches in ${datasource.getTitle()} for <em class="pattern">${ (query.getPat
52
52
< #assign object = triple.getObject().asNode().toString()>
53
53
< li >
54
54
< a href ="?subject=${subject?url} ">
55
- < abbr title ="${ subject } "> ${ subject?keep_after_last("/")} </ abbr >
55
+ < abbr title ="${ subject } "> < #if (subject?last_index_of("/") > -1) > ${ subject?keep_after_last("/") } < #else > ${ subject } </ #if > </ abbr >
56
56
</ a >
57
57
< a href ="?predicate=${predicate?url} ">
58
58
< abbr title ="${ predicate } "> ${predicate?keep_after_last("/")}</ abbr >
59
59
</ a >
60
60
< #if !triple.getObject().isLiteral()>
61
61
< a href ="?object=${object?url} " resource ="${ subject} ">
62
- < abbr title ="${ object } " property ="${ predicate } " resource ="${ object } "> ${ object?keep_after_last("/")} </ abbr >
62
+ < abbr title ="${ object } " property ="${ predicate } " resource ="${ object } "> < #if (object?last_index_of("/") > -1) > ${ object?keep_after_last("/") } < #else > ${ object } </ #if > </ abbr >
63
63
</ a > .
64
64
< #else>
65
65
< a href ="?object=${object?url} " resource ="${ subject} "> ${object}</ a > .
You can’t perform that action at this time.
0 commit comments