UX: Switch placeholder to an SSH url if importing a private theme

UX: Switch placeholder to an SSH url if importing a private theme
diff --git a/app/assets/javascripts/admin/controllers/modals/admin-import-theme.js.es6 b/app/assets/javascripts/admin/controllers/modals/admin-import-theme.js.es6
index e69ada3..75514b4 100644
--- a/app/assets/javascripts/admin/controllers/modals/admin-import-theme.js.es6
+++ b/app/assets/javascripts/admin/controllers/modals/admin-import-theme.js.es6
@@ -17,6 +17,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
   checkPrivate: Ember.computed.match("uploadUrl", /^git/),
   localFile: null,
   uploadUrl: null,
+  urlPlaceholder: "https://github.com/discourse/sample_theme",
 
   @computed("loading", "remote", "uploadUrl", "local", "localFile")
   importDisabled(isLoading, isRemote, uploadUrl, isLocal, localFile) {
@@ -25,6 +26,10 @@ export default Ember.Controller.extend(ModalFunctionality, {
 
   @observes("privateChecked")
   privateWasChecked() {
+    this.get("privateChecked")
+      ? this.set("urlPlaceholder", "git@github.com:discourse/sample_theme.git")
+      : this.set("urlPlaceholder", "https://github.com/discourse/sample_theme");
+
     const checked = this.get("privateChecked");
     if (checked && !this._keyLoading) {
       this._keyLoading = true;
diff --git a/app/assets/javascripts/admin/templates/modal/admin-import-theme.hbs b/app/assets/javascripts/admin/templates/modal/admin-import-theme.hbs
index 9a42c18..b5fbe4a 100644
--- a/app/assets/javascripts/admin/templates/modal/admin-import-theme.hbs
+++ b/app/assets/javascripts/admin/templates/modal/admin-import-theme.hbs
@@ -15,7 +15,7 @@
     {{#if remote}}
       <div class="inputs">
         <div class='repo'>
-        {{input value=uploadUrl placeholder="https://github.com/discourse/sample_theme"}}
+        {{input value=uploadUrl placeholder=urlPlaceholder}}
         <span class="description">{{i18n 'admin.customize.theme.import_web_tip'}}</span>
         </div>
         <div class='branch'>

GitHub
sha: 3d2c72dd