summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/status/stage/common.rb
blob: 14c437d2b98db80214f48dc123acee8ebb41614e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module Gitlab
  module Ci
    module Status
      module Stage
        module Common
          def has_details?
            true
          end

          def details_path
            namespace_project_pipeline_path(@subject.project.namespace,
                                            @subject.project,
                                            @subject.pipeline,
                                            anchor: @subject.name)
          end

          def has_action?
            false
          end
        end
      end
    end
  end
end