From 787b4f1c42f527f6f660193bba109e627edbb08e Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 15 Nov 2014 20:37:56 -0500 Subject: [PATCH] CRM-15603 - Standardize 'View contact record' messages --- templates/CRM/Case/Form/CaseView.tpl | 2 +- templates/CRM/Event/Form/ParticipantView.tpl | 2 +- .../WebTest/Contact/CreateCmsUserFromContactTest.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/CRM/Case/Form/CaseView.tpl b/templates/CRM/Case/Form/CaseView.tpl index 783d68342c..25fc27b385 100644 --- a/templates/CRM/Case/Form/CaseView.tpl +++ b/templates/CRM/Case/Form/CaseView.tpl @@ -41,7 +41,7 @@ {ts}Clients:{/ts} {foreach from=$caseRoles.client item=client name=clients} - {$client.display_name}{if not $smarty.foreach.clients.last},   {/if} + {$client.display_name}{if not $smarty.foreach.clients.last},   {/if} {/foreach} diff --git a/templates/CRM/Event/Form/ParticipantView.tpl b/templates/CRM/Event/Form/ParticipantView.tpl index a83a3d2874..5047ea8df6 100644 --- a/templates/CRM/Event/Form/ParticipantView.tpl +++ b/templates/CRM/Event/Form/ParticipantView.tpl @@ -48,7 +48,7 @@ {ts}Participant Name{/ts} - {$displayName} + {$displayName}
{ts}Print Name Badge{/ts}
diff --git a/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php b/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php index f43375d565..8fbdc2360b 100644 --- a/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php +++ b/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php @@ -66,9 +66,9 @@ class WebTest_Contact_CreateCmsUserFromContactTest extends CiviSeleniumTestCase // go to My Account page $this->open($this->sboxPath . "user"); - // click "View Contact Record" link - $this->waitForElementPresent("xpath=//div[@class='profile']/span/a[text()='View Contact Record']"); - $this->click("xpath=//div[@class='profile']/span/a[text()='View Contact Record']"); + // click "View contact record" link + $this->waitForElementPresent("xpath=//div[@class='profile']/span/a[text()='View contact record']"); + $this->click("xpath=//div[@class='profile']/span/a[text()='View contact record']"); $this->waitForPageToLoad($this->getTimeoutMsec()); //Assert that the user actually does have a CMS Id displayed -- 2.25.1