From 1f1fe9489d463701c18dda2fadb2c5f76733cf02 Mon Sep 17 00:00:00 2001 From: Michiel Sikkes Date: Wed, 29 Jul 2015 22:12:05 +0200 Subject: [PATCH 1/3] Translate DigitalOcean London region --- config/locales/en.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index bcd5843..5a8dbf4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -45,3 +45,4 @@ en: amsterdam: "Amsterdam" new_york: "New York" singapore: "Singapore" + london: "London" From c3c8f0553efb998f7e1a4d5048dc0b5d53e5b758 Mon Sep 17 00:00:00 2001 From: Michiel Sikkes Date: Wed, 29 Jul 2015 22:12:55 +0200 Subject: [PATCH 2/3] Replace placeholder APPNAME with app name from database --- app/views/apps_overview/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/apps_overview/index.html.erb b/app/views/apps_overview/index.html.erb index 5e656ab..ff9d2fd 100644 --- a/app/views/apps_overview/index.html.erb +++ b/app/views/apps_overview/index.html.erb @@ -22,7 +22,7 @@

Server Intercity has finished installing. <%= link_to "#" do %> - Continue with deploying APPNAME <%= fa_icon "angle-right" %> + Continue with deploying <%= app.name %> <%= fa_icon "angle-right" %> <% end %>

From 53d8d8ba09dddd5a72b0f1a990082cf842d28c9c Mon Sep 17 00:00:00 2001 From: Michiel Sikkes Date: Wed, 29 Jul 2015 22:14:41 +0200 Subject: [PATCH 3/3] Replace static "appname" placeholder with actual app name from database when adding an SSH key --- app/views/onboarding/deploy_keys/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/onboarding/deploy_keys/new.html.erb b/app/views/onboarding/deploy_keys/new.html.erb index 9e049f9..c43696c 100644 --- a/app/views/onboarding/deploy_keys/new.html.erb +++ b/app/views/onboarding/deploy_keys/new.html.erb @@ -7,7 +7,7 @@

You're almost ready to deploy your app. One thing you need to do is add the SSH key from your workstation to the server. - This gives you access to deploy appname.

+ This gives you access to deploy <%= current_app.name %>.

"> <%= f.label :key, "Paste your SSH key here" %> <%= f.text_area :key %>