         render: =>
             # Initialize the data for this view
             data =
-                num_namespaces: 0 # Number of namespaces
-                num_live_namespaces: 0 # Number of namespaces alived
-                reachability: true # Status of the table
-                nshards: 0 # Number of shards
-                nreplicas: 0 # Number of replicas (numbers of copies of each shards)
-                ndatacenters: 0 # Number of datacenter
+                num_namespaces: 0       # Number of namespaces
+                num_live_namespaces: 0  # Number of namespaces alived
+                reachability: true      # Status of the table
+                nshards: 0              # Number of shards
+                nreplicas: 0            # Number of replicas (numbers of copies of each shards)
+                ndatacenters: 0         # Number of datacenter
                 #stats_up_to_date: true # Not display for now. We should put it back. Issue #1286
                 
             datacenters_working = {}

        destroy: =>
            namespaces.off 'all', @render

    class @RemoveDatabaseModal extends UIComponents.AbstractModal
        template: Handlebars.compile $('#remove_database-modal-template').html()
        class: 'remove_database-dialog'

            data =
                has_tables: namespaces_in_db.length > 0
                tables: _.sortBy(namespaces_in_db, (namespace) -> namespace.name)
            
            # Render only if something has changed. @render is executed everytime someone change the shards on a table (even if not in the database)
            if not @data isnt data
                @data = data
                @.$el.html @template @data
            return @

        # Unbind listeners
        destroy: =>
            namespaces.off 'change:shards', @render
            namespaces.off 'change:primary_pinnings', @render
