Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
f95a8e45
Commit
f95a8e45
authored
9 years ago
by
Calin Seciu
Committed by
Rémy Coutable
9 years ago
Browse files
Options
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 @@
.form-group
=
label_tag
:message
,
nil
,
class:
'control-label'
.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.
%hr
.form-group
...
...
This diff is collapsed.
Click to expand it.
app/views/projects/tags/show.html.haml
View file @
f95a8e45
...
...
@@ -19,14 +19,13 @@
%i
.fa.fa-trash-o
.title
%span
.item-title
=
@tag
.
name
-
if
@tag
.
message
.
present?
%span
.light
=
strip_gpg_signature
(
@tag
.
message
)
-
if
@commit
=
render
'projects/branches/commit'
,
commit:
@commit
,
project:
@project
-
else
Cant find HEAD commit for this tag
-
if
@tag
.
message
.
present?
%pre
.body
=
strip_gpg_signature
(
@tag
.
message
)
.append-bottom-default.prepend-top-default
...
...
This diff is collapsed.
Click to expand it.
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