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
Tatuya Kamada
gitlab-ce
Commits
f95a8e45
Commit
f95a8e45
authored
Feb 16, 2016
by
Calin Seciu
Committed by
Rémy Coutable
May 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace text field with textarea in 'New Tag' view and display tag message in `<pre>`
parent
f96c34ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+1
-1
app/views/projects/tags/show.html.haml
app/views/projects/tags/show.html.haml
+3
-4
No files found.
app/views/projects/tags/new.html.haml
View file @
f95a8e45
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
.form-group
.form-group
=
label_tag
:message
,
nil
,
class:
'control-label'
=
label_tag
:message
,
nil
,
class:
'control-label'
.col-sm-10
.col-sm-10
=
text_
field_tag
:message
,
nil
,
required:
false
,
tabindex:
3
,
class:
'form-control'
=
text_
area_tag
:message
,
nil
,
required:
false
,
tabindex:
3
,
class:
'form-control'
,
rows:
5
.help-block
Optionally, enter a message to create an annotated tag.
.help-block
Optionally, enter a message to create an annotated tag.
%hr
%hr
.form-group
.form-group
...
...
app/views/projects/tags/show.html.haml
View file @
f95a8e45
...
@@ -19,14 +19,13 @@
...
@@ -19,14 +19,13 @@
%i
.fa.fa-trash-o
%i
.fa.fa-trash-o
.title
.title
%span
.item-title
=
@tag
.
name
%span
.item-title
=
@tag
.
name
-
if
@tag
.
message
.
present?
%span
.light
=
strip_gpg_signature
(
@tag
.
message
)
-
if
@commit
-
if
@commit
=
render
'projects/branches/commit'
,
commit:
@commit
,
project:
@project
=
render
'projects/branches/commit'
,
commit:
@commit
,
project:
@project
-
else
-
else
Cant find HEAD commit for this tag
Cant find HEAD commit for this tag
-
if
@tag
.
message
.
present?
%pre
.body
=
strip_gpg_signature
(
@tag
.
message
)
.append-bottom-default.prepend-top-default
.append-bottom-default.prepend-top-default
...
...
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