فهرست منبع

add beta warning

mizozobu 6 سال پیش
والد
کامیت
236ffdcd3a

+ 2 - 0
resource/locales/en-US/translation.json

@@ -737,6 +737,7 @@
   },
 
   "importer_management": {
+    "beta_warning": "This function is Beta.",
     "import_from": "Import from %s",
     "import_form_growi": "Import from GROWI",
     "growi_settings": {
@@ -764,6 +765,7 @@
   },
 
   "export_management": {
+    "beta_warning": "This function is Beta.",
     "export_as_zip": "Export Data as Zip",
     "export_collections": "Export Collections",
     "check_all": "Check All",

+ 2 - 0
resource/locales/ja/translation.json

@@ -720,6 +720,7 @@
   },
 
   "importer_management": {
+    "beta_warning": "この機能はベータ版です",
     "import_from": "%s からインポート",
     "import_form_growi": "GROWIからインポート",
     "growi_settings": {
@@ -747,6 +748,7 @@
   },
 
   "export_management": {
+    "beta_warning": "この機能はベータ版です",
     "export_as_zip": "Zipファイルでエクスポート",
     "export_collections": "コレクションのエクスポート",
     "check_all": "全てにチェックを付ける",

+ 3 - 0
src/client/js/components/Admin/Export/ExportPage.jsx

@@ -95,6 +95,9 @@ class ExportPage extends React.Component {
     return (
       <Fragment>
         <h2>{t('export_management.export_as_zip')}</h2>
+        <div className="alert alert-warning">
+          <i className="icon-exclamation"></i> { t('export_management.beta_warning') }
+        </div>
         <div className="row my-5">
           <div className="col-xs-offset-3 col-xs-6">
             <button type="submit" className="btn btn-sm btn-primary" onClick={this.openExportModal}>{t('export_management.export')}</button>

+ 5 - 0
src/client/js/components/Admin/Import/GrowiZipImportSection.jsx

@@ -73,6 +73,11 @@ class GrowiZipImportSection extends React.Component {
     return (
       <Fragment>
         <legend>{t('importer_management.import_form_growi')}</legend>
+
+        <div className="alert alert-warning">
+          <i className="icon-exclamation"></i> { t('importer_management.beta_warning') }
+        </div>
+
         <div className="well well-sm small">
           <ul>
             <li>{t('importer_management.growi_settings.overwrite_documents')}</li>