From d2ad4e53dc89070210700ea12579a64ea5cf2197 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 1 Sep 2017 07:36:05 +0000 Subject: [PATCH] changed more anchors to use images in the code history view --- codepot/src/codepot/views/code_history.php | 8 +++++--- codepot/src/css/images/Makefile.am | 2 ++ codepot/src/css/images/Makefile.in | 2 ++ .../css/images/iconmonstr-clipboard-6-240.png | Bin 0 -> 4270 bytes .../src/css/images/iconmonstr-ethernet-1-240.png | Bin 0 -> 4240 bytes 5 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 codepot/src/css/images/iconmonstr-clipboard-6-240.png create mode 100644 codepot/src/css/images/iconmonstr-ethernet-1-240.png 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']}", - '
' . $this->lang->line('Blame') . '
'); - + sprintf('%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']}", - '
' . $this->lang->line('Difference') . '
'); + sprintf('%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']}", 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 0000000000000000000000000000000000000000..288b87c7a80ffd96316c411acda403b3a6425481 GIT binary patch literal 4270 zcmdT|`9IWa`>zl}wjvorqsVgX*=MXLOJPWe!I45^PnMYx$G&tJOR~kF>^qS))g>b-nNF^NE9-8gQJsc;>{3 z6C6f{`WC?RJN?IU8u*9Z{+4p$1ed>&zK&(k_)3m@to_3I=FZk-xP`=?@c+})+p2A2;1l4B`FHuWRg>uPJ03kDM2 z|6W>J+G#1d6^0kdkX%#nqvdC|ULpUusy~TYYp=B^-F!Md3bH3PEBXa3uC}fvnlBj% zh^D5dX44#fVsuz;zpMC2aPdo3w>Iv6Wm_qld2>K8`doGplZ{!k8&%L*2zT zIu=!pgxi?YaxmE^Q=`($K9e6S3mRa-o}>!+QkvpCZ;a$VfzL%{Bf+?EnwJ|N)Np)Q`KR-XcHG#%ZgFyy22F~ynZMPN+nRMLL@@0RR zU(~yuPanYKQ#w6n)YYL~>1Jj*x}6-Eat0f@YU<9g7Tu!FRVQB22BMzDd+BvRtOc6{ z0e*L``B~(9^$Ex}BZLO$XVInA!Qs4LNPNxWTyzgyb)%?=teSzwZfIC6l*kmG)UG31 z!n*A7WRf>_OwV3~}iMIqlfX%xWhu6=Pu_{r+O*0GUFhZWSX(;tw9`f z-Uj=FCL3vTk4PqAIr7gOs894SF8o_Y^=#$hQTMJ@^M;4g-U>{=qnK)ym`InQa=4Ih z!K(PFrYa2XjkC>7s`@2j7+@55tJ2EsJd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