X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes%2Fnotes.html;h=fa45a68f242f33742d5364828547b05a14444688;hb=8706262a6d18ef5103fb5972ca6443b73e700e6a;hp=6a7a06a025b1bfc4dc2b83a7a223daa206a3c5d9;hpb=9fae251fc1e3069694ebaf4fae62bde844f45cff;p=freeside.git diff --git a/httemplate/view/cust_main/notes/notes.html b/httemplate/view/cust_main/notes/notes.html old mode 100755 new mode 100644 index 6a7a06a02..fa45a68f2 --- 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"!; @@ -103,21 +107,23 @@ % $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 %> % }