Skip to content

Commit

Permalink
Show text when no rules created yet (#198)
Browse files Browse the repository at this point in the history
Show a placeholder text when no rules exist yet.
  • Loading branch information
spacegaier committed May 12, 2021
1 parent bfd5344 commit 982f85e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions views/apps_list.pug
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ block content
span(aria-hidden='true') ×
p= message

if apps.length === 0
p= _("No rules created yet.")
p= _("They can be created by WHEN type commands.")

for app in apps
div.row
div.col-lg-6.col-xs-12.app-template
Expand Down

0 comments on commit 982f85e

Please sign in to comment.