Commit 5717304098ae81285a5a616fb066e9ae7ea88f54
Exists in
master
and in
4 other branches
Merge pull request #5359 from dpursehouse/update-some-labels
Minor grammatical updates in some of the labels.
Showing
8 changed files
with
11 additions
and
11 deletions
Show diff stats
app/views/admin/groups/edit.html.haml
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | %span= @group.errors.full_messages.first |
| 7 | 7 | .control-group.group_name_holder |
| 8 | 8 | = f.label :name do |
| 9 | - Group name is | |
| 9 | + Group name | |
| 10 | 10 | .controls |
| 11 | 11 | = f.text_field :name, placeholder: "Example Group", class: "input-xxlarge" |
| 12 | 12 | |
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | |
| 18 | 18 | .control-group.group_name_holder |
| 19 | 19 | = f.label :path do |
| 20 | - %span.cred Group path is | |
| 20 | + %span.cred Group path | |
| 21 | 21 | .controls |
| 22 | 22 | = f.text_field :path, placeholder: "example-group", class: "input-xxlarge danger" |
| 23 | 23 | %ul.cred | ... | ... |
app/views/admin/groups/new.html.haml
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | %span= @group.errors.full_messages.first |
| 7 | 7 | .control-group |
| 8 | 8 | = f.label :name do |
| 9 | - Group name is | |
| 9 | + Group name | |
| 10 | 10 | .controls |
| 11 | 11 | = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left" |
| 12 | 12 | .control-group.group-description-holder | ... | ... |
app/views/admin/projects/show.html.haml
app/views/groups/edit.html.haml
app/views/groups/new.html.haml
app/views/projects/edit.html.haml
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | %fieldset |
| 12 | 12 | .control-group.project_name_holder |
| 13 | 13 | = f.label :name do |
| 14 | - Project name is | |
| 14 | + Project name | |
| 15 | 15 | .controls |
| 16 | 16 | = f.text_field :name, placeholder: "Example Project", class: "span5" |
| 17 | 17 | |
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | Project description |
| 22 | 22 | %span.light (optional) |
| 23 | 23 | .controls |
| 24 | - = f.text_area :description, placeholder: "awesome project", class: "span5", rows: 3, maxlength: 250 | |
| 24 | + = f.text_area :description, placeholder: "Awesome project", class: "span5", rows: 3, maxlength: 250 | |
| 25 | 25 | |
| 26 | 26 | - if @project.repository.exists? && @project.repository.branch_names.any? |
| 27 | 27 | .control-group | ... | ... |
app/views/projects/new.html.haml
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | = form_for @project, remote: true do |f| |
| 7 | 7 | .control-group.project-name-holder |
| 8 | 8 | = f.label :name do |
| 9 | - %strong Project name is | |
| 9 | + %strong Project name | |
| 10 | 10 | .controls |
| 11 | 11 | = f.text_field :name, placeholder: "Example Project", class: "input-xlarge", tabindex: 1, autofocus: true |
| 12 | 12 | %span.help-inline |
| ... | ... | @@ -46,7 +46,7 @@ |
| 46 | 46 | Description |
| 47 | 47 | %span.light (optional) |
| 48 | 48 | .controls |
| 49 | - = f.text_area :description, placeholder: "awesome project", class: "input-xlarge", rows: 3, maxlength: 250, tabindex: 3 | |
| 49 | + = f.text_area :description, placeholder: "Awesome project", class: "input-xlarge", rows: 3, maxlength: 250, tabindex: 3 | |
| 50 | 50 | .control-group.project-public-holder |
| 51 | 51 | = f.label :public do |
| 52 | 52 | %span Public project | ... | ... |
features/steps/shared/project.rb
| ... | ... | @@ -47,7 +47,7 @@ module SharedProject |
| 47 | 47 | |
| 48 | 48 | Then 'I should see project settings' do |
| 49 | 49 | current_path.should == edit_project_path(@project) |
| 50 | - page.should have_content("Project name is") | |
| 50 | + page.should have_content("Project name") | |
| 51 | 51 | page.should have_content("Features:") |
| 52 | 52 | end |
| 53 | 53 | ... | ... |