debian-mirror-gitlab/app/helpers/projects/cluster_agents_helper.rb

13 lines
401 B
Ruby
Raw Normal View History

2021-11-18 22:05:49 +05:30
# frozen_string_literal: true
module Projects::ClusterAgentsHelper
def js_cluster_agent_details_data(agent_name, project)
{
2022-03-02 08:16:31 +05:30
activity_empty_state_image: image_path('illustrations/empty-state/empty-state-agents.svg'),
2021-11-18 22:05:49 +05:30
agent_name: agent_name,
2022-03-02 08:16:31 +05:30
empty_state_svg_path: image_path('illustrations/operations-dashboard_empty.svg'),
project_path: project.full_path
2021-11-18 22:05:49 +05:30
}
end
end