Author: jvdrean
Date: 2008-02-25 19:10:29 +0100 (Mon, 25 Feb 2008)
New Revision: 7936
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/watchlist.vm
Log:
[minor] removed DB prefixes in watchlist elements names
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/watchlist.vm
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/watchlist.vm
2008-02-25 18:07:06 UTC (rev 7935)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/watchlist.vm
2008-02-25 18:10:29 UTC (rev 7936)
@@ -91,7 +91,7 @@
<tr>
#set ($idoc = $xwiki.getDocument($item))
#if (!$idoc.isNew())
- <td><a href="$idoc.getURL()">$idoc.getDisplayTitle()</a></td>
+ <td><a
href="$idoc.getURL()">$idoc.getDisplayTitle().replaceAll("[^\\.,:]+:",
"")</a></td>
<td>$idoc.web</td>
<td><a href="$doc.getURL("view",
"xpage=watchlist&removedocument=${item}")"
title="$msg.get("watchlist.delete.tooltip")">$msg.get("watchlist.delete")</a></td>
#else
@@ -118,7 +118,7 @@
#foreach($item in $wlist)
#if ($item != "")
<tr>
- <td>$item</td>
+ <td>$item.replaceAll("[^\\.,:]+:", "")</td>
<td><a href="$doc.getURL("view",
"xpage=watchlist&removespace=${item}")"
title="$msg.get("watchlist.delete.tooltip")">$msg.get("watchlist.delete")</a></td>
</tr>
#end
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications