UX: Add editing guidance for remote themes (#12111)

This commit is contained in:
Penar Musaraj 2021-02-17 10:24:34 -05:00 committed by GitHub
parent 0e9410dd5c
commit 431c6de480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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">

View File

@ -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: