output a space between the text and the left_arrow_indicator

This commit is contained in:
hyung-hwan 2015-04-13 00:31:16 +00:00
parent b4678abe12
commit bd625f0cc1
6 changed files with 12 additions and 7 deletions

View File

@ -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']); printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']);
if (!empty($file['created_tag'])) if (!empty($file['created_tag']))
{ {
print ('<span class="left_arrow_indicator">'); print ' ';
print htmlspecialchars($file['created_tag']); print ('<span class="left_arrow_indicator">');
print ('</span>'); print htmlspecialchars($file['created_tag']);
print ('</span>');
} }
print anchor ("code/blame/{$project->id}/${xpar}/{$file['next_rev']}", '>>'); print anchor ("code/blame/{$project->id}/${xpar}/{$file['next_rev']}", '>>');

View File

@ -218,9 +218,10 @@ $this->load->view (
printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']); printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']);
if (!empty($file['created_tag'])) if (!empty($file['created_tag']))
{ {
print ('<span class="left_arrow_indicator">'); print ' ';
print htmlspecialchars($file['created_tag']); print ('<span class="left_arrow_indicator">');
print ('</span>'); print htmlspecialchars($file['created_tag']);
print ('</span>');
} }
print anchor ("code/file/{$project->id}/${xpar}/{$file['next_rev']}", '>>'); print anchor ("code/file/{$project->id}/${xpar}/{$file['next_rev']}", '>>');

View File

@ -296,6 +296,7 @@ $this->load->view (
printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']); printf ('%s: %s', $this->lang->line('Revision'), $file['created_rev']);
if (!empty($file['created_tag'])) if (!empty($file['created_tag']))
{ {
print ' ';
print ('<span class="left_arrow_indicator">'); print ('<span class="left_arrow_indicator">');
print htmlspecialchars($file['created_tag']); print htmlspecialchars($file['created_tag']);
print ('</span>'); print ('</span>');

View File

@ -123,6 +123,7 @@ $this->load->view (
if (!empty($h['tag'])) if (!empty($h['tag']))
{ {
print ' ';
print '<span class="left_arrow_indicator">'; print '<span class="left_arrow_indicator">';
print htmlspecialchars($h['tag']); print htmlspecialchars($h['tag']);
print '</span>'; print '</span>';

View File

@ -314,6 +314,7 @@ $history = $file['history'];
printf ('%s: %s', $this->lang->line('Revision'), $history['rev']); printf ('%s: %s', $this->lang->line('Revision'), $history['rev']);
if (!empty($history['tag'])) if (!empty($history['tag']))
{ {
print ' ';
print ('<span class="left_arrow_indicator">'); print ('<span class="left_arrow_indicator">');
print htmlspecialchars($history['tag']); print htmlspecialchars($history['tag']);
print ('</span>'); print ('</span>');

View File

@ -705,7 +705,7 @@ pre.prettyprint li.L9 { background: #eee }
background: #FA5240; background: #FA5240;
color: #FFFFFF;; color: #FFFFFF;;
font-size: 0.9em; font-size: 0.9em;
margin-left: 0.5em; margin-left: 0.2em;
padding-left: 0.5em; padding-left: 0.5em;
padding-right: 0.5em; padding-right: 0.5em;
} }