X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fnotes.html;h=1283b19daf0c4fc8cf875c5211c990def7f4d0de;hb=90d8aaced90a89974109de6a016a62bee4a7457c;hp=833c92e6756b4386b1add6d592488600ef9ad49d;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;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;