diff options
author | Henry Smith <henry@henrysmith.org> | 2013-08-15 19:19:29 +0100 |
---|---|---|
committer | Henry Smith <henry@henrysmith.org> | 2013-08-15 19:19:29 +0100 |
commit | 602e2e68d956a53cf411124e0548d7a93139768f (patch) | |
tree | 3119fadb21ad81728d0e1d8b003a6b9f1465cc73 /app/views/projects/hooks | |
parent | 0b4324938a1b81554032b9583397c4b7c53fb3ec (diff) | |
download | gitlab-ce-602e2e68d956a53cf411124e0548d7a93139768f.tar.gz |
Lots of wording improvements for the project settings area
Summary:
- Mostly very small things involving use of "a", "the" etc.
- "post-receive" hooks are usually written with the hyphen in the name .
- I changed the Web Hooks page to have a title consistent with all the other
pages in the settings area.
- More consistent usage of full-stops in lists.
Diffstat (limited to 'app/views/projects/hooks')
-rw-r--r-- | app/views/projects/hooks/index.html.haml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml index 53e54103617..f748eb29294 100644 --- a/app/views/projects/hooks/index.html.haml +++ b/app/views/projects/hooks/index.html.haml @@ -1,10 +1,11 @@ -- if can? current_user, :admin_project, @project - .alert.alert-info - %span - Post receive hooks for binding events when someone push to repository. - %br - Read more about web hooks - %strong #{link_to "here", help_web_hooks_path, class: "vlink"} +%h3.page-title + Post-receive hooks + +%p.light + #{link_to "Post-receive hooks ", help_web_hooks_path, class: "vlink"} can be + used for binding events when someone pushes to the repository. + +%hr.clearfix = form_for [@project, @hook], as: :hook, url: project_hooks_path(@project), html: { class: 'form-inline' } do |f| -if @hook.errors.any? |