I am trying to add simple anchors to the change list page so that each 
release can be referenced externally using a direct URL.

This is to use e.g. in the email or in a testflight release notes context.

The change is here:

diff --git a/core/src/main/resources/hudson/scm/SCM/project-changes.jelly 
b/core/src/main/resources/hudson/scm/SCM/project-changes.jelly
index 6e16e46..7bb54db 100644
--- a/core/src/main/resources/hudson/scm/SCM/project-changes.jelly
+++ b/core/src/main/resources/hudson/scm/SCM/project-changes.jelly
@@ -43,7 +43,7 @@ THE SOFTWARE.
       <j:forEach var="b" items="${builds}">
         <j:if test="${b.changeSet.iterator().hasNext()}">
           <j:set var="hadChanges" value="${true}"/>
-          <h2><a href="${b.number}/changes">${b.displayName}
+          <h2><a name="${b.number}"></a><a 
href="${b.number}/changes">${b.displayName}
             (<i:formatDate value="${b.timestamp.time}" type="both" 
dateStyle="medium" timeStyle="medium"/>)</a></h2>
 
           <ol>


But it conflicts with the use of the new GUI as the first lines are hidden 
behind the new breadcrumb bar. E.g. http://imgur.com/NzYZi

Any idea how to make this more user friendly ?  Should I use some sort of 
javascript solution (scrollIntoView() comes to mind).

J 


Reply via email to