Commit 3294f46e authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix broken view

parent 702c734a
- project = local_assigns.fetch(:project, nil) - project = local_assigns.fetch(:project, nil)
- if cookies[:hide_shared_runner_quota_message].blank? && - if cookies[:hide_shared_runner_quota_message].blank? && project.shared_runners_minutes_quota? && namespace.shared_runners_minutes_used? && can?(current_user, :create_pipeline, project)
project.shared_runners_minutes_quota? &&
namespace.shared_runners_minutes_used? &&
can?(current_user, :create_pipeline, project)
.shared-runner-quota-message.alert.alert-warning.hidden-xs .shared-runner-quota-message.alert.alert-warning.hidden-xs
= namespace.name = namespace.name
has exceeded its build minutes quota. Pipelines will not run anymore on shared runners. has exceeded its build minutes quota. Pipelines will not run anymore on shared runners.
......
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