summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-08-04 15:54:07 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-08-17 11:18:53 -0500
commit1b98f15444449b075ea52346d6368c7e2de8f2b6 (patch)
treeda5cfde4d0d5c80795d79eb7cb610ac585232b50
parent6357c75c5784479a71a5b50204aa8633a3650756 (diff)
downloadgitlab-ce-1b98f15444449b075ea52346d6368c7e2de8f2b6.tar.gz
Remove unused data attributes
-rw-r--r--app/views/projects/builds/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/builds/show.html.haml b/app/views/projects/builds/show.html.haml
index b4834ae42a2..956851c651f 100644
--- a/app/views/projects/builds/show.html.haml
+++ b/app/views/projects/builds/show.html.haml
@@ -24,7 +24,7 @@
%ul.dropdown-menu
- statuses.each do |build_status|
- builds.select{|build| build.status == build_status}.each do |build|
- %li.build-job{class: ('active' if build == @build), data: {id: build.id, name: build.name, stage: build.stage}}
+ %li.build-job{class: ('active' if build == @build), data: {stage: build.stage}}
= link_to namespace_project_build_path(@project.namespace, @project, build) do
= ci_icon_for_status(build.status)
%span