changed the number part in the revision number of the diff view to link to the code listing view
This commit is contained in:
parent
3a1ae6fee4
commit
29354a812c
@ -405,7 +405,10 @@ else
|
|||||||
|
|
||||||
// show the history details of the previous revision at the root directory
|
// show the history details of the previous revision at the root directory
|
||||||
$revanc = "code/revision/{$project->id}/!/{$file['against']['created_rev']}";
|
$revanc = "code/revision/{$project->id}/!/{$file['against']['created_rev']}";
|
||||||
print anchor ($revanc, ($this->lang->line('Revision') . ' ' . $file['against']['created_rev']));
|
$codeanc = "code/file/{$project->id}/{$xpar}/{$file['against']['created_rev']}";
|
||||||
|
print anchor ($revanc, $this->lang->line('Revision'));
|
||||||
|
print ' ';
|
||||||
|
print anchor ($codeanc, $file['against']['created_rev']);
|
||||||
|
|
||||||
$currev = $file['created_rev'];
|
$currev = $file['created_rev'];
|
||||||
$nextrev = $file['against']['next_rev'];
|
$nextrev = $file['against']['next_rev'];
|
||||||
@ -506,7 +509,10 @@ else
|
|||||||
|
|
||||||
// show the history details of the current revision at the root directory
|
// show the history details of the current revision at the root directory
|
||||||
$revanc = "code/revision/{$project->id}/!/{$file['created_rev']}";
|
$revanc = "code/revision/{$project->id}/!/{$file['created_rev']}";
|
||||||
print anchor ($revanc, ($this->lang->line('Revision') . ' ' . $file['created_rev']));
|
$codeanc = "code/file/{$project->id}/${xpar}/{$file['created_rev']}";
|
||||||
|
print anchor ($revanc, $this->lang->line('Revision'));
|
||||||
|
print ' ';
|
||||||
|
print anchor ($codeanc, $file['created_rev']);
|
||||||
|
|
||||||
$currev = $file['against']['created_rev'];
|
$currev = $file['against']['created_rev'];
|
||||||
$nextrev = $file['next_rev'];
|
$nextrev = $file['next_rev'];
|
||||||
|
Loading…
Reference in New Issue
Block a user