App.views.Project.addChild('ProjectContributions', _.extend({
  el: '#project_contributions',

  activate: function(){
    
    this.filter = {available_to_count: true};
    this.setupPagination(
      this.$("#contributions-loading img"),
      this.$("#load-more"),
      this.$(".results"),
      this.$el.data('path')
    );
    this.parent.on('selectTab', this.fetchPage);
  },

  events:{
    "click input[type='radio'][name=contribution_state]": "showContributions",
    "click #load-more" : "loadMore"
  },

  showContributions: function(){
    
    var state = $('input:radio[name=contribution_state]:checked').val();

    this.filter = { page: 1 };

    if(state == 'waiting_confirmation'){
    
      this.filter.pending = true;
    
    }else{

      this.filter.available_to_count = true;
    
    }

    this.$('.results').empty();
    
    this.fetchPage();

  }

}, Skull.Pagination));


App.views.Project.addChild('ProjectContributions', _.extend({
  el: '#project_contributions',

  activate: function(){
    this.filter = {available_to_count: true};
    this.setupPagination(
      this.$("#contributions-loading img"),
      this.$("#load-more"),
      this.$(".results"),
      this.$el.data('path')
    );
    this.parent.on('selectTab', this.fetchPage);
  },

  events:{
    "click input[type='radio'][name=contribution_state]": "showContributions",
    "click #load-more" : "loadMore"
  },

  showContributions: function(){
    var state = $('input:radio[name=contribution_state]:checked').val();
    this.filter = { page: 1 };

    if(state == 'waiting_confirmation'){
      this.filter.pending = true;
    }
    else{
      this.filter.available_to_count = true;
    }

    this.$('.results').empty();
    this.fetchPage();
  }
}, Skull.Pagination));


Tidy up the code