diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-16 13:32:05 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-16 17:51:08 +0100 |
commit | ebc3f62be52e386b4550e01ce589744e880ad443 (patch) | |
tree | 718a7b680b679983e128e1df92a456e04a58e3e3 /app/views/projects/services | |
parent | cc83aded33471a3e2f943bd9a760f689d30f901e (diff) | |
download | gitlab-ce-ebc3f62be52e386b4550e01ce589744e880ad443.tar.gz |
Fix specs
Diffstat (limited to 'app/views/projects/services')
-rw-r--r-- | app/views/projects/services/mattermost_slash_commands/_help.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/services/mattermost_slash_commands/_help.html.haml b/app/views/projects/services/mattermost_slash_commands/_help.html.haml index 2bdd4cd148c..01a77a952d1 100644 --- a/app/views/projects/services/mattermost_slash_commands/_help.html.haml +++ b/app/views/projects/services/mattermost_slash_commands/_help.html.haml @@ -1,5 +1,4 @@ -- pretty_path_with_namespace = "#{@project.namespace ? @project.namespace.name : 'namespace'} / #{@project ? @project.name : 'name'}" -- run_actions_text = "Perform common operations on this project: #{pretty_path_with_namespace}" +- run_actions_text = "Perform common operations on this project: #{@project.name_with_namespace}" .well This service allows GitLab users to perform common operations on this @@ -27,7 +26,7 @@ .form-group = label_tag :display_name, 'Display name', class: 'col-sm-2 col-xs-12 control-label' .col-sm-10.col-xs-12.input-group - = text_field_tag :display_name, "GitLab / #{pretty_path_with_namespace}", class: 'form-control input-sm', readonly: 'readonly' + = text_field_tag :display_name, "GitLab / #{@project.name_with_namespace}", class: 'form-control input-sm', readonly: 'readonly' .input-group-btn = clipboard_button(clipboard_target: '#display_name') |