-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.0] Empty State for Banner clients and tracks #33376
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
Conversation
This comment was marked as abuse.
This comment was marked as abuse.
| use Joomla\CMS\Factory; | ||
| use Joomla\CMS\Layout\LayoutHelper; | ||
|
|
||
| $displayData = array( |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and reduce indentation.
| 'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help40:Banners:_Clients', | ||
| 'icon' => 'icon-bookmark banners', | ||
| ); | ||
| $user = Factory::getUser(); |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
|
|
||
| use Joomla\CMS\Layout\LayoutHelper; | ||
|
|
||
| $displayData = array( |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
| COM_BANNERS_CLIENT_EMPTYSTATE_BUTTON_ADD="Add your first client" | ||
| COM_BANNERS_CLIENT_EMPTYSTATE_CONTENT="A Banner Client contains contact details and further information such as tracking preferences." | ||
| COM_BANNERS_CLIENT_EMPTYSTATE_TITLE="No Clients have been created yet." | ||
| COM_BANNERS_CLIENT_EDIT="Edit Client" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Same as the other PRs
If you have never used the banner component - in order to test the tracks part of this PR and make sure its not displayed when there is tracking info you will need to create a banner AND set the tracking to yes on the second tab of the banner.
After