Also remember to hide assignments tab from navigation (#2710)

This commit is contained in:
Matias Griese
2020-10-05 12:47:12 +03:00
parent 6aaf992656
commit b3cca45fd2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
1. [Joomla](#joomla)
1. [](#new)
- Added configuration option to support Advance Module Manager (#2710)
- Added configuration option to support Advanced Module Manager (#2710)
1. [Grav](#grav)
1. [](#bugfix)
- Fixed `{{ gantry.platform.filter() }}` throws error (#2700)
@@ -37,7 +37,7 @@
<i class="fa fa-fw fa-list-alt" aria-hidden="true"></i> <span>{{ 'GANTRY5_PLATFORM_PAGESETTINGS'|trans }}</span>
</a>
</li>
{% if configuration and configuration != 'default' and not (configuration starts with '_') %}
{% if configuration and configuration != 'default' and not (configuration starts with '_') and gantry.global['use_assignments'] ?? true %}
<li {{ (location == 'configurations/assignments') ? 'class="active"' }}>
<a data-g5-ajaxify=""
data-g5-nav="assignments"
+1 -1
View File
@@ -41,7 +41,7 @@
<config>
<fields name="params" addfieldpath="/templates/g5_base/fields">
<fieldset name="advanced">
<fieldset name="basic">
<field name="warning" type="warning" />
</fieldset>
</fields>