Skip to content

Commit

Permalink
Re-adding unspecified reason for extension
Browse files Browse the repository at this point in the history
  • Loading branch information
oliiso committed Jul 16, 2024
1 parent a7eefe9 commit 77f1112
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ TableCell::TableCell(float d, const std::string& c, int precision, const std::st
inquiry = bad_status = override = version_conflict = cancelled = false;
if (reason != ""){
hoverText = "class=\"hoverable-cell\" data-hover-text=\"" + userName + " received a " + std::to_string(daysExtended) + " day extension due to " + reason + " on " + gID + "\" ";
} else {
hoverText = "class=\"hoverable-cell\" data-hover-text=\""+userName+" received a "+std::to_string(daysExtended)+" day extension without specified reason on "+gID+"\" ";
}
} else if (event == "Open"){
inquiry = true;
Expand Down

0 comments on commit 77f1112

Please sign in to comment.