Last active
August 21, 2019 14:33
-
-
Save sreecodeslayer/246312be1c4b766cbe06dd8ce4307d13 to your computer and use it in GitHub Desktop.
agent async status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
<%= link "Agent", to: agent_path(@conn, :show) %> | |
<%= if @is_agent_online do %> | |
(Online: <span class="has-text-success"><%= @is_agent_online %></span>) | |
<% else %> | |
(Online: <span class="has-text-danger"><%= @is_agent_online %></span>) | |
<% end %> | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment