Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🥔✨ Space: Display domain on Space#edit #1600

Merged
merged 6 commits into from
Jun 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/views/spaces/_website_settings.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<p class="text-sm italic"><%= t('website_settings.help_text') %></p>
</header>

<h4 class="text-base"> Domain </h4>
<% if space.branded_domain.present? %>
<p class="text-sm"><%= space.branded_domain.presence || "No Domain" %></p>
<% else %>
<p class="text-sm"> No domain </p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the if/else anymore?

<% end %>

<%= form_with model: space.location do | web_settings_form | %>
<%= web_settings_form.label :enforce_ssl do %>
<%= web_settings_form.check_box :enforce_ssl %>
Expand Down