bots UI: Display message for empty 'Active/Inactive bots' tab.

Add a line of text stating that there are no active or inactive bots.

This is for better understanding of the user, as blank screen that
used to appear in case of no bots being present might seem broken
to some.

Tweaked by tabbott to improve the English.
This commit is contained in:
Abhijeet Kaur 2017-07-11 18:35:15 +05:30 committed by Tim Abbott
parent cbd5223429
commit 85b7a89d85
1 changed files with 2 additions and 2 deletions

View File

@ -17,10 +17,10 @@
<li class="add-a-new-bot-tab"><a>{{t "Add a new bot" }}</a></li>
</ul>
<ol class="bots_list" id="active_bots_list">
<ol class="bots_list required-text" id="active_bots_list" data-empty="{{t 'You have no active bots.' }}">
</ol>
<ol class="bots_list" id="inactive_bots_list">
<ol class="bots_list required-text" id="inactive_bots_list" data-empty="{{t 'You have no inactive bots.' }}">
</ol>
<div id="bot_table_error" class="alert alert-error hide"></div>