changed more anchors to use images in the code history view

This commit is contained in:
hyung-hwan 2017-09-01 07:36:05 +00:00
parent a5d2e8c9c5
commit d2ad4e53dc
5 changed files with 9 additions and 3 deletions

View File

@ -160,10 +160,12 @@ $this->load->view (
if ($file['type'] == 'file') if ($file['type'] == 'file')
{ {
print anchor ("code/blame/{$project->id}/{$xfullpath}/{$h['rev']}", print anchor ("code/blame/{$project->id}/{$xfullpath}/{$h['rev']}",
'<div class="codepot-buttoned-anchor"><i class="fa fa-bomb"></i> ' . $this->lang->line('Blame') . '</div>'); sprintf('<img src="%s" class="codepot-buttoned-img-30" alt="%s" title="%s"/>', base_url_make('/css/images/iconmonstr-clipboard-6-240.png'), $this->lang->line('Blame'), 'Show code annotated with revision and author information'));
print '&nbsp;';
print anchor ("code/diff/{$project->id}/{$xfullpath}/{$h['rev']}", print anchor ("code/diff/{$project->id}/{$xfullpath}/{$h['rev']}",
'<div class="codepot-buttoned-anchor"><i class="fa fa-server"></i> ' . $this->lang->line('Difference') . '</div>'); sprintf('<img src="%s" class="codepot-buttoned-img-30" alt="%s" title="%s"/>', base_url_make('/css/images/iconmonstr-ethernet-1-240.png'), $this->lang->line('Difference'), 'Show differences'));
print '&nbsp;';
} }
print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}",

View File

@ -25,6 +25,8 @@ www_DATA = \
filexml.png \ filexml.png \
folder.png \ folder.png \
html.png \ html.png \
iconmonstr-clipboard-6-240.png \
iconmonstr-ethernet-1-240.png \
iconmonstr-script-4-240.png \ iconmonstr-script-4-240.png \
iconmonstr-sitemap-7-240.png \ iconmonstr-sitemap-7-240.png \
i-node.png \ i-node.png \

View File

@ -170,6 +170,8 @@ www_DATA = \
filexml.png \ filexml.png \
folder.png \ folder.png \
html.png \ html.png \
iconmonstr-clipboard-6-240.png \
iconmonstr-ethernet-1-240.png \
iconmonstr-script-4-240.png \ iconmonstr-script-4-240.png \
iconmonstr-sitemap-7-240.png \ iconmonstr-sitemap-7-240.png \
i-node.png \ i-node.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB