X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FCampaign%2FForm%2FSearch%2FSurvey.tpl;h=4352178dacf4806f1c7819da49b638bc73df4f61;hb=80bc28208fbcfe886024d6fb1c2b38adf063dd92;hp=776c9bd8356ff67ad20f5a98e7b627da31eb4580;hpb=1024e1784fb68b8529a77143f5191a60d70837cf;p=civicrm-core.git
diff --git a/templates/CRM/Campaign/Form/Search/Survey.tpl b/templates/CRM/Campaign/Form/Search/Survey.tpl
index 776c9bd835..4352178dac 100755
--- a/templates/CRM/Campaign/Form/Search/Survey.tpl
+++ b/templates/CRM/Campaign/Form/Search/Survey.tpl
@@ -1,8 +1,8 @@
{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@ -31,7 +31,7 @@
-
{ts}Add Survey{/ts}
+ {crmButton p='civicrm/survey/add' q='reset=1' h=0 icon="plus-circle"}{ts}Add Survey{/ts}{/crmButton}
{elseif $buildSelector}
@@ -76,7 +76,7 @@
{else}
-
{ts}Add Survey{/ts}
+ {crmButton p='civicrm/survey/add' q='reset=1' h=0 icon="plus-circle"}{ts}Add Survey{/ts}{/crmButton}
{* build search form here *}
@@ -188,7 +188,7 @@ function loadSurveyList( )
"bLengthChange": false,
"aaSorting": [],
"aoColumns":[{sClass:'crm-survey-id hiddenElement' },
- {sClass:'crmf-title crm-editable' },
+ {sClass:'crmf-title' },
{sClass:'crm-survey-campaign_id hiddenElement' },
{sClass:'crm-survey-campaign' },
{sClass:'crm-survey-activity_type_id hiddenElement' },
@@ -216,6 +216,8 @@ function loadSurveyList( )
CRM.$('.crm-editable').crmEditable();
},
"fnRowCallback": function( nRow, aData, iDisplayIndex ) {
+ // Crm-editable
+ CRM.$(nRow).children().eq(1).addClass('crm-editable');
//insert the id for each row for enable/disable.
var rowId = 'survey-' + aData[0];
CRM.$(nRow).attr( 'id', rowId).addClass('crm-entity');