Files
ubicloud/views/github/index.erb
2025-08-08 11:31:11 -07:00

25 lines
837 B
Plaintext

<% @page_title = "GitHub Runners Integration" %>
<% if !@project.has_valid_payment_method? %>
<form action="<%= billing_path %>" method="POST">
<%== csrf_tag(billing_path) %>
<%== part(
"components/empty_state",
icon: "hero-banknotes",
title: "No billing information",
description:
"Project doesn't have valid billing information. First, you need to update the project's billing details to use GitHub Runners.",
button_title: "New Billing Information"
) %>
</form>
<% else %>
<%== part(
"components/empty_state",
icon: "github",
title: "No Connected Accounts",
description: "Get started by installing our GitHub app to your user or organization account.",
button_link: "#{@project.path}/github/create",
button_title: "Connect New Account"
) %>
<% end %>