From 3f5307ed05f5437587e727d6e0f55c85daf8fbde Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 13 Mar 2017 06:57:06 +0000 Subject: [PATCH] changed the code history view a little --- codepot/src/codepot/views/code_history.php | 38 +++++++++------------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/codepot/src/codepot/views/code_history.php b/codepot/src/codepot/views/code_history.php index ebcf39e9..cbbb677e 100644 --- a/codepot/src/codepot/views/code_history.php +++ b/codepot/src/codepot/views/code_history.php @@ -95,7 +95,7 @@ $this->load->view (
load->view ( $h = $history[--$i]; $xfullpath = $this->converter->AsciiToHex (($fullpath == '')? '.': $fullpath); - $rowclass = $rowclasses[($history_count - $i) % 2]; - //print ""; print ""; - print ''; - print ''; - print ''; - - print ''; print ''; print ''; + print ''; + + print ''; + print ''; + // // let's track the copy path. //
'; // Repository migration from googlecode revealed that it did not put // 'author' for initial project creation. So I've added the following check. @@ -122,21 +119,6 @@ $this->load->view ( } print ''; - if ($h['review_count'] > 0) - { - $tmp = sprintf ('%d', $h['review_count']); - print anchor("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}#code_revision_result_comments", $tmp); - print ' '; - } - print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", htmlspecialchars($h['msg']), "class='commit-message'"); - //print '
';
-			//print htmlspecialchars($h['msg']);
-			//print '
'; - print '
'; print '
'; @@ -159,15 +141,14 @@ $this->load->view ( print ''; print '
'; - print '
'; + //print '
'; + print ''; - print '
'; - print '
'; if ($file['type'] == 'file') { @@ -184,6 +165,19 @@ $this->load->view ( print '
'; + if ($h['review_count'] > 0) + { + $tmp = sprintf ('%d', $h['review_count']); + print anchor("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}#code_revision_result_comments", $tmp); + print ' '; + } + print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", htmlspecialchars($h['msg']), "class='commit-message'"); + print '