Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
da48fdc2
Commit
da48fdc2
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't write "Optional" or "Required" unless non-obvious
parent
b04c5b06
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
6 deletions
+3
-6
app/views/groups/milestones/new.html.haml
app/views/groups/milestones/new.html.haml
+0
-1
app/views/projects/milestones/_form.html.haml
app/views/projects/milestones/_form.html.haml
+0
-1
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+2
-2
app/views/shared/issuable/_form.html.haml
app/views/shared/issuable/_form.html.haml
+1
-2
No files found.
app/views/groups/milestones/new.html.haml
View file @
da48fdc2
...
...
@@ -15,7 +15,6 @@
=
f
.
label
:title
,
"Title"
,
class:
"control-label"
.col-sm-10
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"form-control js-quick-submit"
,
required:
true
%p
.hint
Required
.form-group.milestone-description
=
f
.
label
:description
,
"Description"
,
class:
"control-label"
.col-sm-10
...
...
app/views/projects/milestones/_form.html.haml
View file @
da48fdc2
...
...
@@ -10,7 +10,6 @@
=
f
.
label
:title
,
"Title"
,
class:
"control-label"
.col-sm-10
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"form-control js-quick-submit"
,
required:
true
%p
.hint
Required
.form-group.milestone-description
=
f
.
label
:description
,
"Description"
,
class:
"control-label"
.col-sm-10
...
...
app/views/projects/tags/new.html.haml
View file @
da48fdc2
...
...
@@ -24,7 +24,7 @@
=
label_tag
:message
,
nil
,
class:
'control-label'
.col-sm-10
=
text_field_tag
:message
,
nil
,
placeholder:
'Enter message.'
,
required:
false
,
tabindex:
3
,
class:
'form-control'
.help-block
(Optional) Entering a message will
create an annotated tag.
.help-block
Optionally, enter a message to
create an annotated tag.
%hr
.form-group
=
label_tag
:release_description
,
'Release notes'
,
class:
'control-label'
...
...
@@ -32,7 +32,7 @@
=
render
layout:
'projects/md_preview'
,
locals:
{
preview_class:
"md-preview"
,
referenced_users:
true
}
do
=
render
'projects/zen'
,
attr: :release_description
,
classes:
'description js-quick-submit form-control'
=
render
'projects/notes/hints'
.help-block
(Optional) You can add release notes to your tag. It will be stored in the GitLab database and shown on the tags page
.help-block
Optionally, you can add release notes to the tag. They will be stored in the GitLab database and displayed on the tags page.
.form-actions
=
button_tag
'Create tag'
,
class:
'btn btn-create'
,
tabindex:
3
=
link_to
'Cancel'
,
namespace_project_tags_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-cancel'
...
...
app/views/shared/issuable/_form.html.haml
View file @
da48fdc2
...
...
@@ -6,8 +6,7 @@
%span
=
msg
%br
.form-group
=
f
.
label
:title
,
class:
'control-label'
do
%strong
=
'Title *'
=
f
.
label
:title
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:title
,
maxlength:
255
,
autofocus:
true
,
autocomplete:
'off'
,
class:
'form-control pad js-gfm-input js-quick-submit'
,
required:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment