Skip to content

Commit

Permalink
Color room state for better overview (#5280)
Browse files Browse the repository at this point in the history
* Color room state

bring colors to the state of a room for better overview

* Update ServerRoomRow.jsx

---------

Co-authored-by: Ahmad Farhat <ahmad.farhat@blindsidenetworks.com>
  • Loading branch information
Dennis1993 and farhatahmad authored Jun 22, 2023
1 parent 886f69e commit 5305517
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export default function ServerRoomRow({ room }) {

const meetingRunning = () => {
if (online) {
return <td className="border-0 text-success"> { t('admin.server_rooms.running') } </td>;
return <td className="border-0 text-success"><span className="badge bg-success"> { t('admin.server_rooms.running') } </span></td>;
}
return <td className="border-0"> { t('admin.server_rooms.not_running') } </td>;
return <td className="border-0"><span className="badge bg-danger"> { t('admin.server_rooms.not_running') } </span></td>;
};

return (
Expand Down

0 comments on commit 5305517

Please sign in to comment.