Skip to content

Commit

Permalink
Version 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jshah4517 committed Aug 24, 2023
1 parent 7af3dda commit c4f7b42
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
10 changes: 6 additions & 4 deletions core/addons_sidebar.twig
Expand Up @@ -31,9 +31,11 @@
<a href="{{ route('core.operator.integration.index') }}">{{ Lang.choice('core.third_party_integrations', 2) }}</a>
</li>
{% endif %}
<li {% if route starts with 'report.operator.manage' %}class="sp-active"{% endif %}>
<a href="{{ route('report.operator.manage.index') }}">{{ Lang.choice('report.report', 2) }}</a>
</li>
{% if isModuleEnabled('Report') and auth_user().hasPermission('view.report') %}
<li {% if route starts with 'report.operator.manage' %}class="sp-active"{% endif %}>
<a href="{{ route('report.operator.manage.index') }}">{{ Lang.choice('report.report', 2) }}</a>
</li>
{% endif %}
<li {% if route starts with 'core.operator.widget' %}class="sp-active"{% endif %}>
<a href="{{ route('core.operator.widget.index') }}">{{ Lang.choice('core.widget', 2) }}</a>
</li>
Expand All @@ -46,4 +48,4 @@
</li>
{% endif %}
</ul>
</div>
</div>
3 changes: 1 addition & 2 deletions core/forms/smtp_tab.twig
Expand Up @@ -19,9 +19,8 @@
{{ form_label('smtp_encryption', Lang.get('core.smtp_encryption')) }}
<div class="sp-input-container">
{{ form_select('smtp_encryption', {
0 : Lang.get('general.none'),
'0' : Lang.get('core.starttls_or_none'),
'ssl' : Lang.get('core.ssl'),
'tls' : Lang.get('core.tls')
}) }}
</div>
</div>
Expand Down
8 changes: 1 addition & 7 deletions core/settings_sidebar.twig
Expand Up @@ -87,11 +87,5 @@
<a href="{{ route('core.operator.widget.index') }}">{{ Lang.choice('core.widget', 2) }}</a>
</li>
{% endif %}

{% if auth_user().hasPermission('view.addon') %}
<li {% if route starts with 'report.operator.manage' or route starts with 'report.' %}class="sp-active"{% endif %}>
<a href="{{ route('report.operator.manage.index') }}">{{ Lang.choice('report.report', 2) }}</a>
</li>
{% endif %}
</ul>
</div>
</div>

0 comments on commit c4f7b42

Please sign in to comment.