function addUploadCount_(tr, counts) {
    var node = addNode(tr, 'td');
    node.classList.add('reporting-centered');
    var uploads = valueOrDefault_(counts.uploads, 0);
    var reports = valueOrDefault_(counts.reports, 0);
    if (uploads == 0 && reports == 0) {
      addTextNode(node, '-');
    } else {
      addTextNode(node, uploads + ' (' + reports + ')');
    }
  }
/**
   * Adds an upload count cell to the client details table.
   * REQUIRES: |counts| must be an object
   */
Adds an upload count cell to the client details table.
REQUIRES: |counts| must be an object
Adds an upload count cell to the client details table . REQUIRES : |counts| must be an object
function addUploadCount_(tr, counts) {
    var node = addNode(tr, 'td');
    node.classList.add('reporting-centered');
    var uploads = valueOrDefault_(counts.uploads, 0);
    var reports = valueOrDefault_(counts.reports, 0);
    if (uploads == 0 && reports == 0) {
      addTextNode(node, '-');
    } else {
      addTextNode(node, uploads + ' (' + reports + ')');
    }
  }
function addUploadCount_ ( tr , counts ) { var node = addNode ( tr , 'td' ) ; node . classList . add ( 'reporting-centered' ) ; var uploads = valueOrDefault_ ( counts . uploads , 0 ) ; var reports = valueOrDefault_ ( counts . reports , 0 ) ; if ( uploads == 0 && reports == 0 ) { addTextNode ( node , '-' ) ; } else { addTextNode ( node , uploads + ' (' + reports + ')' ) ; } }
Adds an upload count cell to the client details table.
Adds an upload count cell to the client details table .