Commit 281237d7 authored by Filipa Lacerda's avatar Filipa Lacerda

Changes after review

Remove empty line
parent 268a201c
class Ability class Ability
module Allowable
def can?(user, action, subject)
Ability.allowed?(user, action, subject)
end
end
class << self class << self
# Given a list of users and a project this method returns the users that can # Given a list of users and a project this method returns the users that can
# read the given project. # read the given project.
......
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
- klass = "ci-status-icon ci-status-icon-#{detailed_status}" - klass = "ci-status-icon ci-status-icon-#{detailed_status}"
- if details_path - if details_path
= link_to details_path, class: klass, = link_to details_path, data: { toggle: 'tooltip', title: "#{subject.name} - #{detailed_status}" } do
data: { toggle: 'tooltip', title: "#{subject.name} - #{detailed_status}" } do
%span{ class: klass }= custom_icon(detailed_status.icon) %span{ class: klass }= custom_icon(detailed_status.icon)
.ci-status-text= subject.name .ci-status-text= subject.name
- else - else
......
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