summaryrefslogtreecommitdiff
path: root/app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml')
-rw-r--r--app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml b/app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml
index 9d81fda68cb..549ca36cb6a 100644
--- a/app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml
+++ b/app/views/projects/services/mattermost_slash_commands/_detailed_help.html.haml
@@ -1,4 +1,4 @@
-- pretty_name = html_escape(@project&.full_name) || html_escape_once(_('<project name>')).html_safe
+- pretty_name = @project&.full_name ? html_escape(@project&.full_name) : '<' + _('project name') + '>'
- run_actions_text = html_escape(s_("ProjectService|Perform common operations on GitLab project: %{project_name}")) % { project_name: pretty_name }
%p= s_("ProjectService|To set up this service:")