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
Jérome Perrin
gitlab-ce
Commits
407b491e
Commit
407b491e
authored
Feb 13, 2017
by
Jan Christophersen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Link from Push Events for deleted branches
parent
35b31ba8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
app/views/events/event/_push.html.haml
app/views/events/event/_push.html.haml
+3
-5
changelogs/unreleased/28082-deleted-branch-event-404.yml
changelogs/unreleased/28082-deleted-branch-event-404.yml
+4
-0
No files found.
app/views/events/event/_push.html.haml
View file @
407b491e
...
@@ -3,11 +3,9 @@
...
@@ -3,11 +3,9 @@
.event-title
.event-title
%span
.author_name
=
link_to_author
event
%span
.author_name
=
link_to_author
event
%span
.pushed
#{
event
.
action_name
}
#{
event
.
ref_type
}
%span
.pushed
#{
event
.
action_name
}
#{
event
.
ref_type
}
-
if
event
.
rm_ref?
%strong
%strong
=
event
.
ref_name
-
commits_link
=
namespace_project_commits_path
(
project
.
namespace
,
project
,
event
.
ref_name
)
-
else
=
link_to_if
project
.
repository
.
branch_exists?
(
event
.
ref_name
),
event
.
ref_name
,
commits_link
%strong
=
link_to
event
.
ref_name
,
namespace_project_commits_path
(
project
.
namespace
,
project
,
event
.
ref_name
),
title:
h
(
event
.
target_title
)
=
render
"events/event_scope"
,
event:
event
=
render
"events/event_scope"
,
event:
event
...
...
changelogs/unreleased/28082-deleted-branch-event-404.yml
0 → 100644
View file @
407b491e
---
title
:
Stop linking to deleted Branches in Activity tabs
merge_request
:
9203
author
:
Jan Christophersen
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