0 Votes

Changes for page SubmitIncidentMacro

Last modified by Ryan C on 2025/06/08 05:22

From version 3.35
edited by Ryan C
on 2025/06/08 05:16
Change comment: There is no comment for this version
To version 3.39
edited by Ryan C
on 2025/06/08 05:21
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -4,7 +4,7 @@
4 4  #set($url = "$!wikimacro.parameters.url")
5 5  #set($image = "$!wikimacro.parameters.image")
6 6  
7 -## Enforce https:// if user forgot it
7 +## Add https:// if user forgets it
8 8  #if(!$url.startsWith("http"))
9 9   #set($url = "https://$url")
10 10  #end
... ... @@ -13,6 +13,6 @@
13 13  |[[image:$image||data-xwiki-image-style="thumbnail-clickable" width="200" style="border:1px solid #ccc;"]]|
14 14  === $headline ===
15 15  **$desc**\\
16 -[[Read More>>url:$url]]
16 +[[Read More>>url:$url||target="_blank"]]
17 17  {{/velocity}}
18 18  
XWiki.WikiMacroParameterClass[3]
Parameter type
... ... @@ -1,1 +1,1 @@
1 -Wiki
1 +Unknown