(cp d1975a4) fixes #1298 always show the theme configuration button

This commit is contained in:
plegall
2021-01-27 20:24:57 +01:00
parent 4101bc7b83
commit 845bc85132
2 changed files with 4 additions and 0 deletions

View File

@@ -133,6 +133,8 @@ $(window).bind("load", function() {
{if $theme.STATE == 'active'}
{if $theme.ADMIN_URI}
<a href="{$theme.ADMIN_URI}" class="icon-cog">{'Configuration'|@translate}</a>
{else}
<div class="pluginUnavailableAction icon-cog tiptip" title="{'N/A'|translate}">{'Configuration'|@translate}</div>
{/if}
{if not $theme.IS_DEFAULT}
<a href="{$set_default_baseurl}{$theme.ID}" class="tiptip icon-star" title="{'Set as default theme for unregistered and new users'|@translate}">{'Set as default'|@translate}</a>

View File

@@ -1831,6 +1831,8 @@ margin-top:4px; padding-bottom:3px; padding-top:3px; top:1px;
.themeActions span, .themeActions a {padding: 10px; margin: 0px 10px 10px 10px; font-weight: bold; font-size: 12px;}
.themeActions span {font-size: 11px; background-color: #ddd; opacity: 0.5; color: ;}
.themeActions .pluginUnavailableAction {margin:0 10px 10px 10px;}
.themeActions a:nth-child(1) {background-color: #ffc17e; color: #222;}
.themeActions a:nth-child(1):hover {background-color: #ff7700; color: white; text-decoration: none;}