diff --git a/codepot/src/codepot/views/code_history.php b/codepot/src/codepot/views/code_history.php index 3842effc..8d163e9b 100644 --- a/codepot/src/codepot/views/code_history.php +++ b/codepot/src/codepot/views/code_history.php @@ -103,7 +103,7 @@ $this->load->view ( - + @@ -121,7 +121,7 @@ $this->load->view ( $rowclass = $rowclasses[($history_count - $i) % 2]; print ""; - print ''; - print ''; - - print ''; - print ''; - print ''; print '
lang->line('Revision')?>lang->line('Revision')?> lang->line('Committer')?> lang->line('Date')?> lang->line('Message')?>
'; + print ''; $xfullpath = $this->converter->AsciiToHex ( ($fullpath == '')? '.': $fullpath); @@ -136,26 +136,22 @@ $this->load->view ( } print ''; - print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", - ''); - print ''; - // Repository migration from googlecode reveales that it did not put + print ''; + // Repository migration from googlecode revealed that it did not put // 'author' for initial project creation. So I've added the following check. if (array_key_exists('author', $h)) print htmlspecialchars($h['author']); print ''; + print ''; //print date('r', strtotime($h['date'])); print date('Y-m-d', strtotime($h['date'])); print ''; - print '
';
-		print htmlspecialchars($h['msg']);
-		print '
'; + print '
'; + print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", htmlspecialchars($h['msg']), "class='commit-message'"); + //print '
';
+		//print htmlspecialchars($h['msg']);
+		//print '
'; print '
'; diff --git a/codepot/src/css/code.css b/codepot/src/css/code.css index e466b961..277355d4 100644 --- a/codepot/src/css/code.css +++ b/codepot/src/css/code.css @@ -159,6 +159,21 @@ background-color: #AABBFF; } +#code_history_mainarea_result_table td.commit-message-td:hover { + background-color: #F0F0F0; +} + +#code_history_mainarea_result_table a.commit-message, +#code_history_mainarea_result_table a.commit-message:visited, +#code_history_mainarea_result_table a.commit-message:focus { + color: inherit; + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + font-family: consolas, monaco, "Andale Mono", monospace; +} + /*----------------------------------------------- * project source revision view *-----------------------------------------------*/