Add an info text to the profiles that do not have asset or activities declarations.
How
When there are no declarations of any type, the message is shown. If there is at least one, the declarations appear.
Screenshots
Test
Some test has been modified. There are two test to check if the declaraions are well visualized. In each test, I added a verification to see if the corresponding message is shown.
I added another test to check that both messages are shown when there are no declarations of any type.
Deployment
Nothing to apply.
Warnings
I added some div to be able to check the messages independently in the tests.
Where
What
Add an info text to the profiles that do not have asset or activities declarations.
How
When there are no declarations of any type, the message is shown. If there is at least one, the declarations appear.
Screenshots
Test
Some test has been modified. There are two test to check if the declaraions are well visualized. In each test, I added a verification to see if the corresponding message is shown. I added another test to check that both messages are shown when there are no declarations of any type.
Deployment
Nothing to apply.
Warnings
I added some
div
to be able to check the messages independently in the tests.