summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-02-23 14:15:30 +0000
committerPhil Hughes <me@iamphill.com>2016-02-23 14:15:30 +0000
commit1cd263130da00075f38c6a2a5aa3917f7a2f9ef5 (patch)
tree877bc28a2adc652363db1f23c27c841d6c2b63e4
parent25a1f9ffb251f2f08510151af3c19e61fb6dc940 (diff)
downloadgitlab-ce-mr-prefix-activity-view.tar.gz
Removed un-used variablesmr-prefix-activity-view
-rw-r--r--app/helpers/events_helper.rb2
-rw-r--r--app/views/projects/merge_requests/_merge_request.html.haml2
2 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb
index 127cd8f1812..e5fcaab9551 100644
--- a/app/helpers/events_helper.rb
+++ b/app/helpers/events_helper.rb
@@ -155,8 +155,6 @@ module EventsHelper
def event_note_title_html(event)
if event.note_target
- link_prefix = event.note_target.class.reference_prefix
-
if event.note_commit?
link_to(
namespace_project_commit_path(event.project.namespace, event.project,
diff --git a/app/views/projects/merge_requests/_merge_request.html.haml b/app/views/projects/merge_requests/_merge_request.html.haml
index 866b0f302ef..f415244e953 100644
--- a/app/views/projects/merge_requests/_merge_request.html.haml
+++ b/app/views/projects/merge_requests/_merge_request.html.haml
@@ -48,7 +48,7 @@
= note_count
.merge-request-info
- \#{merge_request.to_reference} &middot;
+ #{merge_request.to_reference} &middot;
opened #{time_ago_with_tooltip(merge_request.created_at, placement: 'bottom')}
by #{link_to_member(@project, merge_request.author, avatar: false)}
- if merge_request.target_project.default_branch != merge_request.target_branch