Replace usage of the `PACKAGE_VERSION` constant

See ffa7464b74
This commit is contained in:
Maximilian Mader 2023-11-04 16:37:30 +01:00 committed by Tim Düsterhus
parent 95d7f4a961
commit 32bfb7a24a
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
3 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@
</category>
<category name="chat.page">
<item name="chat.page.copyright"><![CDATA[<a href="https://tims.bastelstu.be"{if EXTERNAL_LINK_TARGET_BLANK} rel="noopener noreferrer" target="_blank"{/if}>Tims Chat{if SHOW_VERSION_NUMBER} v{@PACKAGE_VERSION}{/if}</a>]]></item>
<item name="chat.page.copyright"><![CDATA[<a href="https://tims.bastelstu.be"{if EXTERNAL_LINK_TARGET_BLANK} rel="noopener noreferrer" target="_blank"{/if}>Tims Chat{if SHOW_VERSION_NUMBER} v{@$chatVersionNumber}{/if}</a>]]></item>
</category>
<category name="chat.room">

View File

@ -116,7 +116,7 @@
</category>
<category name="chat.page">
<item name="chat.page.copyright"><![CDATA[<a href="https://tims.bastelstu.be"{if EXTERNAL_LINK_TARGET_BLANK} rel="noopener noreferrer" target="_blank"{/if}>Tims Chat{if SHOW_VERSION_NUMBER} v{@PACKAGE_VERSION}{/if}</a>]]></item>
<item name="chat.page.copyright"><![CDATA[<a href="https://tims.bastelstu.be"{if EXTERNAL_LINK_TARGET_BLANK} rel="noopener noreferrer" target="_blank"{/if}>Tims Chat{if SHOW_VERSION_NUMBER} v{@$chatVersionNumber}{/if}</a>]]></item>
</category>
<category name="chat.room">

View File

@ -1,3 +1,3 @@
{if $__chat->isActiveApplication()}
<div class="copyright">{lang}chat.page.copyright{/lang}</div>
<div class="copyright">{lang chatVersionNumber=$__chat->getPackage()->packageVersion}chat.page.copyright{/lang}</div>
{/if}