Add Resources to task properties dialog

svn path=/trunk/boinc/; revision=16177
This commit is contained in:
David Anderson 2008-10-09 19:17:04 +00:00
parent 63a81014fe
commit 1d963ce0c6
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@ void CDlgItemProperties::renderInfos(RESULT* result) {
this->addProperty(_("State"), FormatStatus(result));
dt.Set((time_t)result->report_deadline);
this->addProperty(_("Report deadline"), dt.Format());
if (result->resources.size()) {
addProperty(_("Resources"), wxString(result->resources.c_str(), wxConvUTF8));
}
if (result->active_task) {
this->addProperty(_("Checkpoint CPU time"), FormatTime(result->checkpoint_cpu_time));
this->addProperty(_("Current CPU time"), FormatTime(result->current_cpu_time));