<commit_before>'use strict';

var renderDocument      = require('./_business-process-document')
  , documentRevsionInfo = require('./_business-process-document-review-info');

exports._parent = require('./user-base');
exports._match = 'document';

exports['sub-main'] = {
	class: { content: true, 'user-forms': true },
	content: function () {
		var doc = this.document;

		renderDocument(doc, documentRevsionInfo(doc));
	}
};<commit_msg>Issue #1352. Don't display documentRevsionInfo for certificates.<commit_after>'use strict';

var renderDocument      = require('./_business-process-document')
  , documentRevsionInfo = require('./_business-process-document-review-info');

exports._parent = require('./user-base');
exports._match = 'document';

exports['sub-main'] = {
	class: { content: true, 'user-forms': true },
	content: function () {
		var doc = this.document;

		renderDocument(doc, doc.isCertificate ? null : documentRevsionInfo(doc));
	}
};
{'fraction_non_alphanumeric': 0.16701680672268907, 'fraction_numerical': 0.004201680672268907, 'mean_word_length': 4.95625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5608977', 'n_tokens_mistral': 295, 'n_tokens_neox': 283, 'n_words': 56}