X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes.html;h=1283b19daf0c4fc8cf875c5211c990def7f4d0de;hb=4a5fcee4c1aa3ca07ac0a7921f9bd0e645ddc788;hp=833c92e6756b4386b1add6d592488600ef9ad49d;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git
diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html
index 833c92e67..1283b19da 100755
--- a/httemplate/view/cust_main/notes.html
+++ b/httemplate/view/cust_main/notes.html
@@ -11,6 +11,9 @@
% }
Person |
Note |
+% if ($curuser->access_right('Edit customer note') ) {
+ |
+% }
% my $bgcolor1 = '#eeeeee';
@@ -34,7 +37,7 @@
% ";notenum=$notenum",
% 'actionlabel' => 'Edit customer note',
% 'width' => 616,
-% 'height' => 408,
+% 'height' => 538, #575
% 'frame' => 'top',
% );
% my $clickjs = qq!onclick="$onclick"!;
@@ -47,11 +50,14 @@
<% note_datestr($note,$conf,$bgcolor) %>
- <% $note->otaker%>
+ <% $note->usernum ? $note->access_user->name : $note->otaker %>
|
- <%$note->comments%><% $edit %>
+ <% $note->comments | defang %>
|
+% if($edit) {
+ <% $edit %> |
+% }
% } #end display notes
@@ -61,6 +67,8 @@
% }
<%init>
+use HTML::Defang;
+
my $conf = new FS::Conf;
my $curuser = $FS::CurrentUser::CurrentUser;