diff --git a/codepot/src/codepot/views/code_history.php b/codepot/src/codepot/views/code_history.php index 72eeca23..398324cf 100644 --- a/codepot/src/codepot/views/code_history.php +++ b/codepot/src/codepot/views/code_history.php @@ -160,10 +160,12 @@ $this->load->view ( if ($file['type'] == 'file') { print anchor ("code/blame/{$project->id}/{$xfullpath}/{$h['rev']}", - '
'); - + sprintf('', 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']}", - ' '); + sprintf('', 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']}", diff --git a/codepot/src/css/images/Makefile.am b/codepot/src/css/images/Makefile.am index ca30cb22..cd2ccee8 100644 --- a/codepot/src/css/images/Makefile.am +++ b/codepot/src/css/images/Makefile.am @@ -25,6 +25,8 @@ www_DATA = \ filexml.png \ folder.png \ html.png \ + iconmonstr-clipboard-6-240.png \ + iconmonstr-ethernet-1-240.png \ iconmonstr-script-4-240.png \ iconmonstr-sitemap-7-240.png \ i-node.png \ diff --git a/codepot/src/css/images/Makefile.in b/codepot/src/css/images/Makefile.in index a7ad35bf..ef9bff2b 100644 --- a/codepot/src/css/images/Makefile.in +++ b/codepot/src/css/images/Makefile.in @@ -170,6 +170,8 @@ www_DATA = \ filexml.png \ folder.png \ html.png \ + iconmonstr-clipboard-6-240.png \ + iconmonstr-ethernet-1-240.png \ iconmonstr-script-4-240.png \ iconmonstr-sitemap-7-240.png \ i-node.png \ diff --git a/codepot/src/css/images/iconmonstr-clipboard-6-240.png b/codepot/src/css/images/iconmonstr-clipboard-6-240.png new file mode 100644 index 00000000..288b87c7 Binary files /dev/null and b/codepot/src/css/images/iconmonstr-clipboard-6-240.png differ diff --git a/codepot/src/css/images/iconmonstr-ethernet-1-240.png b/codepot/src/css/images/iconmonstr-ethernet-1-240.png new file mode 100644 index 00000000..50ebf691 Binary files /dev/null and b/codepot/src/css/images/iconmonstr-ethernet-1-240.png differ