changed more anchors to use images in the code history view
This commit is contained in:
parent
a5d2e8c9c5
commit
d2ad4e53dc
@ -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 ' ';
|
||||||
|
|
||||||
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 ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}",
|
print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}",
|
||||||
|
@ -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 \
|
||||||
|
@ -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 \
|
||||||
|
BIN
codepot/src/css/images/iconmonstr-clipboard-6-240.png
Normal file
BIN
codepot/src/css/images/iconmonstr-clipboard-6-240.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
codepot/src/css/images/iconmonstr-ethernet-1-240.png
Normal file
BIN
codepot/src/css/images/iconmonstr-ethernet-1-240.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
Loading…
Reference in New Issue
Block a user