Revision 1e882dd7 snf-cyclades-app/synnefo/ui/templates/home.html

b/snf-cyclades-app/synnefo/ui/templates/home.html
132 132
        var BUILDING_MESSAGES = {
133 133
            'INIT': '{% trans "Initializing..." %}',
134 134
            'COPY': '{% trans "{0} of {1} ({2}%)" %}',
135
            'FINAL': '{% trans "Finalizing..." %}'
135
            'FINAL': '{% trans "Bulding image..." %}'
136 136
        }
137 137

  
138 138
        var ERROR_OVERRIDES = {
......
491 491
        </div>
492 492
    </div>
493 493
    
494
    <div id="details-overlay" class="overlay-content overlay-info hidden">
495
        <div class="description intro">
496
            <p></p>
497
        </div>
498
        <div class="description subinfo">
499
            <p></p>
500
        </div>
501
    </div>
502

  
494 503
    <div id="api-info-overlay" class="overlay-content overlay-info hidden">
495 504
        <div class="description">
496 505
            <p>{% blocktrans with EXTERNAL_CLIENT_URL as EXTERNAL_CLIENT_URL %}Use the following API key along with the <a
......
567 576
            synnefo.config.machines_icons_url = '{{ SYNNEFO_IMAGES_URL }}icons/machines/';
568 577
            synnefo.config.vm_name_template = {{ vm_name_template|safe }};
569 578
            synnefo.config.flavors_disk_templates_info = {{ flavors_disk_templates_info|safe }};
579

  
580
            synnefo.config.diagnostics_update_interval = {{ diagnostics_update_interval }};
581
            // override diagnostic messages display
582
            synnefo.config.diagnostic_messages_tpls = {
583
              'image-helper-task-start': "{% trans "Running task 'MESSAGE'" %}"
584
            };
585
            // what messages to display based on vm status
586
            synnefo.config.diagnostics_status_messages_map = {
587
                'BUILD': ['image-helper-task-start', 'image-info'],
588
                'ERROR': ['image-error']
589
            };
590

  
570 591
   			// TODO: make it dynamic
571 592
            synnefo.config.api_urls = {
572 593
                'compute':  {{ compute_api_url|safe }}, 
......
620 641
            synnefo.config.system_images_owners = {{ system_images_owners|safe }};
621 642
            synnefo.ui.init();
622 643
            synnefo.ui.main.bind("ready", function(){
644
              vms = synnefo.storage.vms;
645
              vm = vms.at(0);
623 646
            });
647

  
624 648
        })
625 649
    </script>
626 650
</body>

Also available in: Unified diff