diff --git a/app/assets/javascripts/discourse/templates/user.hbs b/app/assets/javascripts/discourse/templates/user.hbs
index f7f8efb9947..0376714d9ad 100644
--- a/app/assets/javascripts/discourse/templates/user.hbs
+++ b/app/assets/javascripts/discourse/templates/user.hbs
@@ -44,10 +44,10 @@
{{#if model.can_send_private_message_to_user}}
-
- {{#d-button class="btn btn-primary compose-pm" action=(route-action "composePrivateMessage" model)}}
- {{d-icon "envelope"}}
- {{i18n "user.private_message"}}
- {{/d-button}}
+ {{d-button class="btn btn-primary compose-pm"
+ action=(route-action "composePrivateMessage" model)
+ icon="envelope"
+ label="user.private_message"}}
{{/if}}
{{#if currentUser.staff}}