Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the modern @-notation when referencing twig templates for Menu #1382

Merged
merged 1 commit into from
Feb 19, 2018

Conversation

sheeep
Copy link
Member

@sheeep sheeep commented Feb 19, 2018

Details available in this PR.

Update to the modern @-prefixed way of referencing templates.

@leofeyer leofeyer added the bug label Feb 19, 2018
@leofeyer leofeyer added this to the 4.5.5 milestone Feb 19, 2018
@leofeyer leofeyer merged commit 729411a into contao:4.5 Feb 19, 2018
@leofeyer
Copy link
Member

Thank you @sheeep.

@leofeyer leofeyer modified the milestones: 4.5.5, 4.5 May 14, 2019
leofeyer pushed a commit that referenced this pull request Jun 29, 2020
Description
-----------

If any settings of the `localconfig` are defined by the `contao.localconfig` parameter the settings made in the Contao backend are ignored. 

However it's possible to edit the settings in the backend, but the changes are not visible after save+reload. This PR disables all settings which are defined by parameter so that you easily see that these settings are overriden by `contao.localconfig`. Furthermore the `important.svg` icon is added to the label to explain why the setting is disabled.

This might be helpful if you work with different administrators (where some don't have access to the code). I decided not to remove the fields, so the values are visible and people won't get confused about the missing configurations.

Commits
-------

de34649b Disable settings in the backend which are defined by the contao.localconfig parameter
e2e43650 Add unit tests
f1d7e1f3 Use wildcard for missing method to silence undefined method error
3f31d9ed Remove ServiceAnnotationInterface listener is configured using listener.yml
3eeed85a Rename parameter based to bundle configuration
e13836c4 Always set contao.localconfig parameter
32633e12 Improve translation

Co-Authored-By: Hannes <github@gmx.net>
ef2cf67f Annotate `Adapter` with phpstan `@mixin`

Revert and adapt ignoreErrors configuration for `missingMethod`
5a856b6d Fix code style
9d91f0dd Improve ignore error configuration
566f4dc3 Fix yaml idention
85d6ebf1 Yet another yaml style fix
f33879f2 Merge branch 'master' into feature/disable-settings
e8c4d60d Merge branch 'master' into feature/disable-settings
43e9d1df Drop redundant `template` and `mixin` annotation
59e4b180 Use `ServiceAnnotationInterface` instead of explicit configured tags
b9d81487 Fix a few minor issues
95741bc9 Merge branch 'master' into feature/disable-settings
efe0a6e6 Use the info icon instead of the error icon
cde293e2 Re-add the assertInstanceOf() check
7ba2c65f Rename the listener as discussed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants