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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
962b57df
Commit
962b57df
authored
Nov 06, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small UI improvements to new git tag page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b60ad399
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
app/views/projects/releases/edit.html.haml
app/views/projects/releases/edit.html.haml
+3
-1
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+8
-6
No files found.
app/views/projects/releases/edit.html.haml
View file @
962b57df
...
...
@@ -3,7 +3,9 @@
.gray-content-block
.oneline
Release notes for
#{
@tag
.
name
}
.title
Release notes for tag
%strong
#{
@tag
.
name
}
.prepend-top-default
=
form_for
(
@release
,
method: :put
,
url:
namespace_project_tag_release_path
(
@project
.
namespace
,
@project
,
@tag
.
name
),
html:
{
class:
'form-horizontal gfm-form release-form'
})
do
|
f
|
...
...
app/views/projects/tags/new.html.haml
View file @
962b57df
...
...
@@ -5,9 +5,11 @@
.alert.alert-danger
%button
{
type:
"button"
,
class:
"close"
,
"data-dismiss"
=>
"alert"
}
×
=
@error
%h3
.page-title
%i
.fa.fa-code-fork
New tag
New git tag
%hr
=
form_tag
namespace_project_tags_path
,
method: :post
,
id:
"new-tag-form"
,
class:
"form-horizontal tag-form"
do
.form-group
=
label_tag
:tag_name
,
'Name for new tag'
,
class:
'control-label'
...
...
@@ -17,15 +19,15 @@
=
label_tag
:ref
,
'Create from'
,
class:
'control-label'
.col-sm-10
=
text_field_tag
:ref
,
params
[
:ref
],
placeholder:
'master'
,
required:
true
,
tabindex:
2
,
class:
'form-control'
.
light
Branch name or commit SHA
.
help-block
Branch name or commit SHA
.form-group
=
label_tag
:message
,
'Message'
,
class:
'control-label'
.col-sm-10
=
text_field_tag
:message
,
nil
,
placeholder:
'Enter message.'
,
required:
false
,
tabindex:
3
,
class:
'form-control'
.
light
(Optional) Entering a message will create an annotated tag.
.
help-block
(Optional) Entering a message will create an annotated tag.
%hr
.form-group
=
label_tag
:release_description
,
'Release
description
'
,
class:
'control-label'
=
label_tag
:release_description
,
'Release
notes
'
,
class:
'control-label'
.col-sm-10
=
render
layout:
'projects/md_preview'
,
locals:
{
preview_class:
"md-preview"
,
referenced_users:
true
}
do
.zennable
...
...
@@ -39,7 +41,7 @@
=
icon
(
'compress'
)
=
render
'projects/notes/hints'
.help-block
You can add release description
to your tag. It will be stored in GitLab database and displayed on tags page
.help-block
(Optional) You can add release notes
to your tag. It will be stored in GitLab database and displayed on 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'
...
...
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