<commit_before>kd                     = require 'kd'
KDCustomHTMLView       = kd.CustomHTMLView
PendingInvitationsView = require './pendinginvitationsview'


module.exports = class AcceptedInvitationsView extends PendingInvitationsView

  constructor: (options = {}, data) ->

    options.statusType          = 'accepted'
    options.listViewItemOptions = { statusType: 'accepted' }
    options.noItemFoundWidget   = new KDCustomHTMLView
      partial  : 'There is no accepted invitation.'
      cssClass : 'hidden no-item-view'

    super options, data<commit_msg>AcceptedInvitationsView: Use noItemFoundText instead of noItemFoundWidget<commit_after>kd                     = require 'kd'
KDCustomHTMLView       = kd.CustomHTMLView
PendingInvitationsView = require './pendinginvitationsview'


module.exports = class AcceptedInvitationsView extends PendingInvitationsView

  constructor: (options = {}, data) ->

    options.statusType          = 'accepted'
    options.listViewItemOptions = { statusType: 'accepted' }
    options.noItemFoundText     = 'There is no accepted invitation.'

    super options, data
{'fraction_non_alphanumeric': 0.07996406109613657, 'fraction_numerical': 0.0, 'mean_word_length': 3.4382470119521913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6815996', 'n_tokens_mistral': 303, 'n_tokens_neox': 294, 'n_words': 70}