Changes for page Nice Display

Last modified by Benjamin Fischer on 2025/03/26 13:19

From version 28.6
edited by admin
on 2024/10/23 13:06
Change comment: There is no comment for this version
To version 28.8
edited by admin
on 2024/10/23 13:14
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -46,8 +46,8 @@
46 46  
47 47  document.observe(`xwiki:livetable:${tabName}:receivedEntries`, ({memo: {data}}) => {
48 48   for (const row of data.rows) {
49 - row.affiliation = `<a href="${row.URL}" class="wikiexternallink">${
50 - row.affiliation_value.split("\n").map((a, i) => i ? a : `<b>${a}</b>`).join("<br/>");
49 + row.affiliation = `<a href="${row.URL}">${
50 + row.affiliation_value.split("\n").map((a, i) => i ? a : `<b class="wikiexternallink">${a}</b>`).join("<br/>")
51 51   }</a>`;
52 52  
53 53   // tags