Skip to content

A platform for community discussion. Free, open, simple.

DEV: show remote theme repository URL

Penar Musaraj18055f5e37d3
diff --git a/app/assets/javascripts/admin/templates/customize-themes-show.hbs b/app/assets/javascripts/admin/templates/customize-themes-show.hbs
index c1922f4ff1e..de44bd68460 100644
--- a/app/assets/javascripts/admin/templates/customize-themes-show.hbs
+++ b/app/assets/javascripts/admin/templates/customize-themes-show.hbs
@@ -17,6 +17,9 @@
{{/each}}
{{#if model.remote_theme}}
+ {{#if model.remote_theme.remote_url}}
+ <a class="remote-url" href="{{model.remote_theme.remote_url}}">{{model.remote_theme.remote_url}}</a>
+ {{/if}}
<a class="url about-url" href="{{model.remote_theme.about_url}}">{{i18n "admin.customize.theme.about_theme"}}</a>
{{#if model.remote_theme.license_url}}
<a class="url license-url" href="{{model.remote_theme.license_url}}">{{i18n "admin.customize.theme.license"}} {{d-icon "copyright"}}</a>
diff --git a/app/assets/stylesheets/common/admin/customize.scss b/app/assets/stylesheets/common/admin/customize.scss
index d4b2b261f29..bc832987e33 100644
--- a/app/assets/stylesheets/common/admin/customize.scss
+++ b/app/assets/stylesheets/common/admin/customize.scss
@@ -146,11 +146,17 @@
font-weight: bold;
margin-bottom: 10px;
}
+ .remote-url,
.about-url,
- license-url {
+ .license-url {
display: block;
margin-bottom: 10px;
}
+ .remote-url {
+ margin-top: -5px;
+ font-size: $font-down-1;
+ font-style: italic;
+ }
.mini-title {
font-size: $font-up-1;
font-weight: bold;