BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
0dcc9f39
Commit
0dcc9f39
authored
Nov 18, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hide-gpg-signature' into 'master'
Hide gpg signature Fixes #1743 See merge request !1263
parents
fe46a5c0
f9aead9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
git_helper.rb
app/helpers/git_helper.rb
+5
-0
_tag.html.haml
app/views/projects/tags/_tag.html.haml
+1
-1
No files found.
app/helpers/git_helper.rb
0 → 100644
View file @
0dcc9f39
module
GitHelper
def
strip_gpg_signature
(
text
)
text
.
gsub
(
/-----BEGIN PGP SIGNATURE-----(.*)-----END PGP SIGNATURE-----/m
,
""
)
end
end
app/views/projects/tags/_tag.html.haml
View file @
0dcc9f39
...
...
@@ -6,7 +6,7 @@
=
tag
.
name
-
if
tag
.
message
.
present?
=
tag
.
message
=
strip_gpg_signature
(
tag
.
message
)
.pull-right
-
if
can?
current_user
,
:download_code
,
@project
=
render
'projects/repositories/download_archive'
,
ref:
tag
.
name
,
btn_class:
'btn-grouped btn-group-small'
...
...
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