From: Dave Greenberg Date: Fri, 27 Feb 2015 00:58:01 +0000 (-0800) Subject: CRM-16016 - Remove Add Note link for users without permission. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5eb09d8f6e1147fbe38aed6f63aad23c043a1873;p=civicrm-core.git 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 --- 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}