From bd625f0cc1b71afc5e737f94f803c9888cec2c67 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 13 Apr 2015 00:31:16 +0000 Subject: [PATCH] output a space between the text and the left_arrow_indicator --- codepot/src/codepot/views/code_blame.php | 7 ++++--- codepot/src/codepot/views/code_file.php | 7 ++++--- codepot/src/codepot/views/code_folder.php | 1 + codepot/src/codepot/views/code_history.php | 1 + codepot/src/codepot/views/code_revision.php | 1 + codepot/src/css/common.css | 2 +- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/codepot/src/codepot/views/code_blame.php b/codepot/src/codepot/views/code_blame.php index a633279f..891bcede 100644 --- a/codepot/src/codepot/views/code_blame.php +++ b/codepot/src/codepot/views/code_blame.php @@ -175,9 +175,10 @@ print anchor ("code/fetch/{$project->id}/${xpar}{$revreq}", $this->lang->line('D printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']); if (!empty($file['created_tag'])) { - print (''); - print htmlspecialchars($file['created_tag']); - print (''); + print ' '; + print (''); + print htmlspecialchars($file['created_tag']); + print (''); } print anchor ("code/blame/{$project->id}/${xpar}/{$file['next_rev']}", '>>'); diff --git a/codepot/src/codepot/views/code_file.php b/codepot/src/codepot/views/code_file.php index c6a47a32..772a462a 100644 --- a/codepot/src/codepot/views/code_file.php +++ b/codepot/src/codepot/views/code_file.php @@ -218,9 +218,10 @@ $this->load->view ( printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']); if (!empty($file['created_tag'])) { - print (''); - print htmlspecialchars($file['created_tag']); - print (''); + print ' '; + print (''); + print htmlspecialchars($file['created_tag']); + print (''); } print anchor ("code/file/{$project->id}/${xpar}/{$file['next_rev']}", '>>'); diff --git a/codepot/src/codepot/views/code_folder.php b/codepot/src/codepot/views/code_folder.php index f8758e10..a4a3b76d 100644 --- a/codepot/src/codepot/views/code_folder.php +++ b/codepot/src/codepot/views/code_folder.php @@ -296,6 +296,7 @@ $this->load->view ( printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']); if (!empty($file['created_tag'])) { + print ' '; print (''); print htmlspecialchars($file['created_tag']); print (''); diff --git a/codepot/src/codepot/views/code_history.php b/codepot/src/codepot/views/code_history.php index bd7ff77b..bf5c927c 100644 --- a/codepot/src/codepot/views/code_history.php +++ b/codepot/src/codepot/views/code_history.php @@ -123,6 +123,7 @@ $this->load->view ( if (!empty($h['tag'])) { + print ' '; print ''; print htmlspecialchars($h['tag']); print ''; diff --git a/codepot/src/codepot/views/code_revision.php b/codepot/src/codepot/views/code_revision.php index 55d303aa..456e336c 100644 --- a/codepot/src/codepot/views/code_revision.php +++ b/codepot/src/codepot/views/code_revision.php @@ -314,6 +314,7 @@ $history = $file['history']; printf ('%s: %s', $this->lang->line('Revision'), $history['rev']); if (!empty($history['tag'])) { + print ' '; print (''); print htmlspecialchars($history['tag']); print (''); diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 8974b803..aae356c3 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -705,7 +705,7 @@ pre.prettyprint li.L9 { background: #eee } background: #FA5240; color: #FFFFFF;; font-size: 0.9em; - margin-left: 0.5em; + margin-left: 0.2em; padding-left: 0.5em; padding-right: 0.5em; }