Skip to content

Commit

Permalink
chore:add version in exported html
Browse files Browse the repository at this point in the history
  • Loading branch information
alphagocc committed Mar 18, 2022
1 parent 5c10821 commit 3efdf6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion makespec/BUILDVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
214
215
4 changes: 4 additions & 0 deletions src/component/exportutil/exportutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ void ExportUtil::exportHtml(QWidget *widget, Contest *contest, const QString &fi
out << getContestantHtmlCode(contest, contestantList[i], i);
}

out << QString(R"(<footer><p><i>Lemonlime Version %1:%2</i></p></footer>)")
.arg(LEMON_VERSION_STRING)
.arg(LEMON_VERSION_BUILD);

out << R"(
<script>
$("div[id^='c'] th").addClass("td-0");
Expand Down

0 comments on commit 3efdf6b

Please sign in to comment.