Admin: Update panel did't show versions and notices properly
This commit is contained in:
parent
fb479c9aad
commit
3de6af7eb9
@ -7,7 +7,7 @@
|
||||
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.head}</h6>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{$panelstrings.list|sprintf:$smarty.const.SYSTEM_VER:$sfweb:$updates.stable:$fpweb:$updates.unstable}
|
||||
{$panelstrings.list|sprintf:$smarty.const.SYSTEM_VER:$sfweb:$stableversion:$fpweb:$unstableversion}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -18,8 +18,8 @@
|
||||
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.notice}</h6>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{if $updates && $updates.notice}
|
||||
<p>{$updates.notice}</p>
|
||||
{if isset($panelstrings) && isset($panelstrings.notice)}
|
||||
<p>{$notice}</p>
|
||||
{else}
|
||||
<p>{$panelstrings.no_news}</p>
|
||||
{/if}
|
||||
|
Loading…
x
Reference in New Issue
Block a user