<commit_before>
  /**
   * Shows a dialog when your data cannot be georeferenced
   * new GeoreferenceNoDataDialog({
   *  table: table_model
   * })
   *
   */


  cdb.admin.GeoreferenceNoDataDialog =  cdb.admin.BaseDialog.extend({

    // do not remove
    events: cdb.core.View.extendEvents({ }),

    initialize: function() {
      // dialog options
      _.extend(this.options, {
        title: 'There is no data left to georeference',
        template_name: 'common/views/dialog_base',
        clean_on_hide: true,
        ok_button_classes: "button grey",
        ok_title: "Close",
        modal_type: "creation",
        modal_class: 'georeference_dialog',
        width: 572
      });
      this.constructor.__super__.initialize.apply(this);
    },


    render_content: function() {
      var $content = this.$content = $("<div>");
      var temp_content = this.getTemplate('table/header/views/geocoder_nodata_content');
      $content.append(temp_content);

      return $content;
    }
  });<commit_msg>georeference no data dialog touched + fixed<commit_after>
  /**
   *  Shows a dialog when your data cannot be georeferenced
   *  
   *  - It needs at least a table model.
   *
   *  Example:
   *  
   *    var no_data_geo_dialog = new GeoreferenceNoDataDialog({
   *      table: table_model
   *    })
   *
   */

  cdb.admin.GeoreferenceNoDataDialog =  cdb.admin.BaseDialog.extend({

    _TEXTS: {
      title: _t('There is no data left to georeference'),
      close: _('Close')
    },

    // do not remove
    events: cdb.core.View.extendEvents({ }),

    initialize: function() {
      // dialog options
      _.extend(this.options, {
        title: this._TEXTS.title,
        template_name: 'common/views/dialog_base',
        clean_on_hide: true,
        ok_button_classes: "button grey",
        ok_title: this._TEXTS.close,
        modal_type: "creation",
        modal_class: 'georeference_dialog',
        width: 572
      });
      this.constructor.__super__.initialize.apply(this);
    },

    render_content: function() {
      var $content = this.$content = $("<div>");
      var temp_content = this.getTemplate('table/header/views/geocoder_nodata_content');
      $content.append(temp_content);

      return $content;
    }
  });
{'fraction_non_alphanumeric': 0.1232876712328767, 'fraction_numerical': 0.0026513477684489617, 'mean_word_length': 2.493827160493827, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5453583', 'n_tokens_mistral': 721, 'n_tokens_neox': 704, 'n_words': 146}