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

Customized empty results message in tables directive #487

Merged
merged 4 commits into from
Jan 21, 2019
Merged

Conversation

manuasir
Copy link
Contributor

@manuasir manuasir commented Jan 21, 2019

Hi, this PR adds the ability to set a custom message for tables that have empty results.
Now, the wz-table-directive receives a new parameter for the custom message:

=emptyResults

And it can be used like this example:

<wazuh-table empty-results="'No agents were added to this group'">

Related issue: #479
Cheers

@manuasir manuasir self-assigned this Jan 21, 2019
@manuasir manuasir added type/enhancement Enhancement issue 3.9 labels Jan 21, 2019
Co-authored-by: saramoran <sara.moran@wazuh.com>
@jesusgn90 jesusgn90 added this to Needs review in Wazuh 3.9.0 - 7.2.x via automation Jan 21, 2019
@jesusgn90 jesusgn90 merged commit 0942d6c into 3.9 Jan 21, 2019
Wazuh 3.9.0 - 7.2.x automation moved this from Needs review to Done Jan 21, 2019
@jesusgn90 jesusgn90 deleted the 3.9-479 branch January 21, 2019 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Enhancement issue
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants