Skip to content

Commit

Permalink
edit words in hover box
Browse files Browse the repository at this point in the history
  • Loading branch information
oliiso committed Jul 1, 2024
1 parent 356a3fc commit ba4665b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ TableCell::TableCell(float d, const std::string& c, int precision, const std::st
} else if (event == "Bad") {
bad_status = true;
override = inquiry = extension = version_conflict = cancelled = false;
hoverText = "class=\"hoverable-cell\" data-hover-text=\"" + userName + " received a bad status\" ";
}
hoverText = "class=\"hoverable-cell\" data-hover-text=\"" + userName + " received a bad status on " + gID + "\" ";
}


// Bool in order of priority - top to bottom
// Don't think we need this logic, but leaving it as sort of assert
Expand All @@ -127,11 +128,11 @@ TableCell::TableCell(float d, const std::string& c, int precision, const std::st
} else {
inquiry = bad_status = override = extension = version_conflict = cancelled = false;
}

}




std::ostream& operator<<(std::ostream &ostr, const TableCell &c) {
assert (c.color.size() == 6);

Expand Down

0 comments on commit ba4665b

Please sign in to comment.