Commit 1b98f154 authored by Annabel Dunstone's avatar Annabel Dunstone

Remove unused data attributes

parent 6357c75c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment