Skip to content

Commit

Permalink
dashboard: Better "empty list" texts
Browse files Browse the repository at this point in the history
  • Loading branch information
boivie committed Mar 20, 2017
1 parent 73c9130 commit 33a9b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dashboard/js/containers/alarm-list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AlarmList extends Component {
return (
<div>
{isEmpty
? (isFetching ? <h2>Loading...</h2> : <h2>Empty.</h2>)
? (isFetching ? <h2>Loading...</h2> : <p style={{padding: ".8em .5em .8em 1.5em"}}>You haven't configured any alarms yet.</p>)
: <div style={{ opacity: isFetching ? 0.5 : 1 }}>
<Alarms alarms={alarms}/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/js/containers/all-services.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AllServices extends Component {
<h1>All Services</h1>
<ServicesToolbar checked={checked}/>
{isEmpty
? (isFetching ? <h2>Loading...</h2> : <h2>Empty.</h2>)
? (isFetching ? <h2>Loading...</h2> : <p>Sorry - we couldn't find any services. Start sending heartbeats and they'll turn up here.</p>)
: <div>
<Services key="all-services" services={services} checked={checked}/>
</div>
Expand Down

0 comments on commit 33a9b70

Please sign in to comment.