From cb3dbc0d7ace5cbdb8cdcf89e350fb9d0485ab11 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 31 Dec 2016 17:41:11 +0000 Subject: [PATCH] added 'Changes' button to the code history view --- codepot/src/codepot/language/english/code_lang.php | 1 - codepot/src/codepot/language/english/common_lang.php | 2 ++ codepot/src/codepot/language/indonesian/common_lang.php | 2 ++ codepot/src/codepot/language/korean/code_lang.php | 1 - codepot/src/codepot/language/korean/common_lang.php | 2 ++ codepot/src/codepot/views/code_history.php | 3 +++ codepot/src/css/code.css | 1 + 7 files changed, 10 insertions(+), 2 deletions(-) diff --git a/codepot/src/codepot/language/english/code_lang.php b/codepot/src/codepot/language/english/code_lang.php index 9061288e..a3a44154 100644 --- a/codepot/src/codepot/language/english/code_lang.php +++ b/codepot/src/codepot/language/english/code_lang.php @@ -1,5 +1,4 @@ load->view ( print anchor ("code/diff/{$project->id}/{$xfullpath}/{$h['rev']}", '
' . $this->lang->line('Difference') . '
'); } + + print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", + '
' . $this->lang->line('Changes') . '
'); print ''; print ''; print ''; diff --git a/codepot/src/css/code.css b/codepot/src/css/code.css index 36a123e3..80cd794a 100644 --- a/codepot/src/css/code.css +++ b/codepot/src/css/code.css @@ -236,6 +236,7 @@ #code_history_result_table td.commit-message-td { vertical-align: middle; + line-height: 1.2em; } #code_history_result_table td.commit-message-td:hover {