X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes%2Fnotes.html;h=eb421eb3735a20ab54cd1401133491144fcc2154;hb=6e33e8af0974d49c1c0cf65b1963846d35f6c156;hp=6a7a06a025b1bfc4dc2b83a7a223daa206a3c5d9;hpb=c16ef0145a0049c3f20377e2c5076087e999cde0;p=freeside.git diff --git a/httemplate/view/cust_main/notes/notes.html b/httemplate/view/cust_main/notes/notes.html index 6a7a06a02..eb421eb37 100644 --- a/httemplate/view/cust_main/notes/notes.html +++ b/httemplate/view/cust_main/notes/notes.html @@ -34,6 +34,10 @@ % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; +% my %sticky_color = ( '#eeeeee' => '#ffff66', +% '#ffffff' => '#ffffb8', +% ); +% % my $bgcolor = ''; % my $last_classnum = -1; % my $skipheader = 0; @@ -56,7 +60,7 @@ % ";notenum=$notenum", % 'actionlabel' => emt('Edit customer note'), % 'width' => 616, -% 'height' => 538, #575 +% 'height' => 575, % 'frame' => 'top', % ); % my $clickjs = qq!onclick="$onclick"!; @@ -85,12 +89,13 @@ style="display:<% $display %>" > <& /elements/table-grid.html &> + <% mt('Date') |h %> % if ( $conf->exists('cust_main_note-display_times') ) { <% mt('Time') |h %> % } - <% mt('Person') |h %> + <% mt('Employee') |h %> % if ($conf->exists('note-classes') && $conf->config('note-classes') == 1) { <% mt('Class') |h %> % } @@ -99,25 +104,28 @@   % } + % $skipheader = (!$conf->exists('note-classes') || $conf->config('note-classes') < 2); % $last_classnum = $note->classnum; % } +% my $color = $note->sticky ? $sticky_color{$bgcolor} : $bgcolor; + - <% note_datestr($note,$conf,$bgcolor) %> - + <% note_datestr($note,$conf,$color) %> +  <% $note->usernum ? $note->access_user->name : $note->otaker %> % if ($conf->exists('note-classes') && $conf->config('note-classes') == 1) { - + <% $note->classname %> % } - + <% $note->comments | defang %> % if($edit) { - <% $edit %> + <% $edit %> % }