changed the number part in the revision number of the diff view to link to the code listing view

This commit is contained in:
hyung-hwan 2015-05-14 08:01:53 +00:00
parent 3a1ae6fee4
commit 29354a812c

View File

@ -405,7 +405,10 @@ else
// show the history details of the previous revision at the root directory
$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'];
$nextrev = $file['against']['next_rev'];
@ -506,7 +509,10 @@ else
// show the history details of the current revision at the root directory
$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'];
$nextrev = $file['next_rev'];