Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Place this snippet in the section of changelog.jsl after you check if the repository connection starts with "scm:perforce", and you will generate links to cvsmonitor web sites.
===========================
<j:when test="${repository.indexOf('cvsmonitor.pl') > 0}">
<j:set var="module" value="${oneRepoParam.replaceAll('^.*(&module=.*?(?:&|$)).*$','$1')}"/>
<a href="${repository}?cmd=viewBrowseFile${module}&file=${name}">${name}</a>
<a href="${repository}?cmd=viewBrowseVersion${module}&file=${name}&version=${revision}">v${revision}</a>
</j:when>