瀏覽代碼

HUE-7 [importer] Adding a warning and preventing submission if table already exists

Romain Rigaux 8 年之前
父節點
當前提交
46e2faa
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      desktop/libs/indexer/src/indexer/templates/importer.mako

+ 2 - 1
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -473,9 +473,10 @@ ${ assist.assistPanel() }
                   ${ _('Adding data to the existing ') } <span data-bind="text: outputFormat"></span>
                 <!-- /ko -->
                 <!-- ko if: outputFormat() != 'index' -->
-                  <span data-bind="text: outputFormat"></span> ${ _('alredy exists.') } 
+                  <span class="alert">${ _('Already existing') } <span data-bind="text: outputFormat"></span></span> 
                 <!-- /ko -->
                 <a href="javascript:void(0)" data-bind="attr: { href: existingTargetUrl() }, text: name" target="_blank"></a>
+                .
               </span>
             </label>
           </div>