 
   resend: ->
 
-    return  unless @getOptions().statusType is 'pending'
+    return  unless @isPendingView()
 
     @resendButton.showLoader()
 


  showSettings: ->

    @settings.toggleClass 'hidden'
    @toggleClass 'settings-visible'


  revoke: ->

    return  unless @getOptions().statusType is 'pending'

    @revokeButton.showLoader()


        title  = 'Unable to resend the invitation. Please try again.'

      return new KDNotificationView { title, duration }


  isPendingView: ->

    return  @getOptions().statusType is 'pending'


  createViews: ->
