Skip to content

Commit

Permalink
Clever Cloud wording
Browse files Browse the repository at this point in the history
  • Loading branch information
loicknuchel committed Oct 17, 2024
1 parent db378bd commit fbb1f52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/lib/azimutt_web/templates/clever_cloud/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</h1>
<p class="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Welcome to <span class="font-bold">Azimutt</span>! Your Add-on has been well provisioned.<br>
You are almost setup to <span class="italic font-bold">explore and document your database</span>, just connect it now with Clever Cloud gateway 👇️
You are almost setup to <span class="italic font-bold">explore and document your database</span>, you just need to connect it 👇️
</p>
<div class="mt-10 sm:mt-12">
<%= form_for @conn, Routes.elm_path(@conn, :org_create, @resource.organization.id), [method: :post, class: "sm:mx-auto sm:max-w-xl lg:mx-0"], fn _ -> %>
Expand All @@ -53,9 +53,9 @@
</div>
</div>
<p class="mt-3 text-sm text-gray-300 sm:mt-4">
To get your database URI, open any SQL database dashboard in <a href={CleverCloud.org_url(@resource.owner_id)} target="_blank" rel="noopener noreferrer" class="font-medium text-white underline">your organization</a><br>
and look for the "Connection URI".<br>
It looks like: <span class="italic whitespace-nowrap">protocol://user:password@host:port/db</span> (see <a href="/images/clever_cloud_db_uri.png" target="_blank" rel="noopener noreferrer" class="underline">screenshot</a>)<br>
To get the URI, open any MongoDB or SQL database dashboard in <a href={CleverCloud.org_url(@resource.owner_id)} target="_blank" rel="noopener noreferrer" class="font-medium text-white underline">your organization</a><br>
and look for the "Connection URI" (see <a href="/images/clever_cloud_db_uri.png" target="_blank" rel="noopener noreferrer" class="underline">screenshot</a>).<br>
Your credentials are not shared with Azimutt, they are stored in your browser and only sent to the Clever Cloud gateway.<br>
<a href={Routes.website_path(@conn, :docs)} target="_blank" rel="noopener noreferrer" class="font-medium text-white underline">Learn more about Azimutt</a>, or <a href={"mailto:#{Azimutt.config(:support_email)}?subject=#{URI.encode("Help connecting Clever Cloud Add-on")}&body=#{URI.encode("Hi,\n\nI'm looking to connect Azimutt Add-on on Clever Cloud but ...\n\nHere are my infos:\n- organization id: #{@resource.owner_id}\n- addon id: #{@resource.addon_id}\n")}"} target="_blank" rel="noopener noreferrer" class="font-medium text-white underline">contact us</a> for support.
</p>
<% end %>
Expand Down

0 comments on commit fbb1f52

Please sign in to comment.