File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -212,10 +212,12 @@ action=download">download diff</a></span><%
212212 if (type == DiffType . SIDEBYSIDE || type == DiffType . UNIFIED ) {
213213 % > <table class =" plain" aria-label =" table with old and new content" ><%
214214 if (type == DiffType . SIDEBYSIDE ) {
215+ String linkPrefix = request. getContextPath() + Prefix . XREF_P + Util . htmlize(cfg. getPath()) +
216+ " ?" + QueryParameters . REVISION_PARAM_EQ ;
215217 % >
216218 <thead ><tr >
217- <th ><%= data. getFilename() % > (<%= data. getRev(0 ) % > )</th >
218- <th ><%= data. getFilename() % > (<%= data. getRev(1 ) % > )</th >
219+ <th ><a href = " < %= linkPrefix % > <%= data. getRev( 0 ) % > " > <%= data . getFilename() % > (<%= data. getRev(0 ) % > )</ a > </th >
220+ <th ><a href = " < %= linkPrefix % > <%= data. getRev( 1 ) % > " > <%= data . getFilename() % > (<%= data. getRev(1 ) % > )</ a > </th >
219221 </tr ></thead ><%
220222 }
221223 % >
You can’t perform that action at this time.
0 commit comments