A platform for community discussion. Free, open, simple.
UX: Add editing guidance for remote themes (#12111)
Penar Musaraj431c6de480af
diff --git a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbsindex 60b4c7b2648..078af97bb62 100644--- a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs+++ b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs@@ -84,6 +84,9 @@<div class="control-unit">{{#if model.remote_theme.is_git}}+ <div class="alert alert-info">+ {{html-safe (i18n "admin.customize.theme.remote_theme_edits" repoURL=remoteThemeLink)}}+ </div>{{#if showRemoteError}}<div class="error-message">diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex b2d054e4e40..d171849b32c 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -4231,6 +4231,7 @@ en:one: "Theme is %{count} commit behind!"other: "Theme is %{count} commits behind!"compare_commits: "(See new commits)"+ remote_theme_edits: "If you want to edit this theme, you must <a href='%{repoURL}' target='_blank'>submit a change on its repository</a>"repo_unreachable: "Couldn't contact the Git repository of this theme. Error message:"imported_from_archive: "This theme was imported from a .zip file"scss: