Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

remove <strong> from delete message #545

Merged
merged 1 commit into from
Jul 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/locales/en/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ export default {
billing: {
alerts: {
no_invoice_found: 'No invoices found',
delete_item: 'Are you sure you wish to delete <strong>{{item}}</strong>?',
delete_item: 'Are you sure you wish to delete {{item}}?',
no_pricing_items: 'No pricing items found.',
no_pricing_profiles: 'No pricing profiles found.'
},
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/invoices-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('delete invoice', function(assert) {
waitToAppear('.modal-dialog');
});
andThen(() => {
assert.equal(find('.alert').text().trim(), 'Are you sure you wish to delete <strong>inv00001</strong>?', 'Invoice deletion confirm displays');
assert.equal(find('.alert').text().trim(), 'Are you sure you wish to delete inv00001?', 'Invoice deletion confirm displays');
});
click('button:contains(Delete):last');
waitToDisappear('.invoice-number:contains(inv00001)');
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/pricing-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ test('delete price', function(assert) {
});
waitToAppear('.modal-dialog');
andThen(() => {
assert.equal(find('.alert').text().trim(), 'Are you sure you wish to delete <strong>Blood test</strong>?', 'Pricing item is displayed for deletion');
assert.equal(find('.alert').text().trim(), 'Are you sure you wish to delete Blood test?', 'Pricing item is displayed for deletion');
});
click('button:contains(Delete):last');
waitToDisappear('.price-name:contains(Blood test)');
Expand Down