From 5eb09d8f6e1147fbe38aed6f63aad23c043a1873 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Thu, 26 Feb 2015 16:58:01 -0800 Subject: [PATCH] CRM-16016 - Remove Add Note link for users without permission. ---------------------------------------- * CRM-16016: Permission on Contact Notes- Users with only View Permission can add notes https://issues.civicrm.org/jira/browse/CRM-16016 --- templates/CRM/Contact/Page/View/Note.tpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Contact/Page/View/Note.tpl b/templates/CRM/Contact/Page/View/Note.tpl index 226a132ff3..a0216137be 100644 --- a/templates/CRM/Contact/Page/View/Note.tpl +++ b/templates/CRM/Contact/Page/View/Note.tpl @@ -276,9 +276,8 @@ {elseif ($action eq 16)}
-
- {capture assign=link}class="action-item medium-popup" accesskey="N" href="{crmURL p='civicrm/contact/view/note' q="cid=`$contactId`&action=add"}"{/capture} - {ts 1=$link}There are no Notes for this contact. You can add one.{/ts} +
+ {ts}There are no Notes for this contact.{/ts}
{/if} -- 2.25.1