From 1b98f15444449b075ea52346d6368c7e2de8f2b6 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Date: Thu, 4 Aug 2016 15:54:07 -0500 Subject: Remove unused data attributes --- app/views/projects/builds/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1