@capillarytech/creatives-library 7.10.21 → 7.10.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1940,28 +1940,28 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
1940
1940
  onShowTemplates={[MockFunction]}
1941
1941
  >
1942
1942
  <CapRow
1943
- className="upload-type-group-create-container"
1943
+ className="trai-upload-type-group-create-container"
1944
1944
  span={24}
1945
1945
  >
1946
1946
  <Row
1947
- className="cap-row-v2 upload-type-group-create-container"
1947
+ className="cap-row-v2 trai-upload-type-group-create-container"
1948
1948
  gutter={0}
1949
1949
  span={24}
1950
1950
  >
1951
1951
  <div
1952
- className="ant-row cap-row-v2 upload-type-group-create-container"
1952
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
1953
1953
  span={24}
1954
1954
  >
1955
1955
  <CapColumn
1956
1956
  key=".0"
1957
- span={16}
1957
+ span={12}
1958
1958
  >
1959
1959
  <Col
1960
1960
  className="cap-column-v2"
1961
- span={16}
1961
+ span={12}
1962
1962
  >
1963
1963
  <div
1964
- className="ant-col ant-col-16 cap-column-v2"
1964
+ className="ant-col ant-col-12 cap-column-v2"
1965
1965
  >
1966
1966
  <CapHeading
1967
1967
  className="upload-file-title"
@@ -1976,16 +1976,16 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
1976
1976
  </div>
1977
1977
  </CapHeading>
1978
1978
  <CapRow
1979
- className="upload-type-group-create-container"
1979
+ className="trai-upload-type-group-create-container"
1980
1980
  span={24}
1981
1981
  >
1982
1982
  <Row
1983
- className="cap-row-v2 upload-type-group-create-container"
1983
+ className="cap-row-v2 trai-upload-type-group-create-container"
1984
1984
  gutter={0}
1985
1985
  span={24}
1986
1986
  >
1987
1987
  <div
1988
- className="ant-row cap-row-v2 upload-type-group-create-container"
1988
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
1989
1989
  span={24}
1990
1990
  >
1991
1991
  <CapDivider
@@ -2012,14 +2012,14 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2012
2012
  >
2013
2013
  <CapColumn
2014
2014
  key=".0"
2015
- span={13}
2015
+ span={10}
2016
2016
  >
2017
2017
  <Col
2018
2018
  className="cap-column-v2"
2019
- span={13}
2019
+ span={10}
2020
2020
  >
2021
2021
  <div
2022
- className="ant-col ant-col-13 cap-column-v2"
2022
+ className="ant-col ant-col-10 cap-column-v2"
2023
2023
  >
2024
2024
  <CapLabel__CapLabelInline
2025
2025
  key=".0"
@@ -2051,14 +2051,14 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2051
2051
  </CapColumn>
2052
2052
  <CapColumn
2053
2053
  className="upload-failed-container"
2054
- span={10}
2054
+ span={13}
2055
2055
  >
2056
2056
  <Col
2057
2057
  className="cap-column-v2 upload-failed-container"
2058
- span={10}
2058
+ span={13}
2059
2059
  >
2060
2060
  <div
2061
- className="ant-col ant-col-10 cap-column-v2 upload-failed-container"
2061
+ className="ant-col ant-col-13 cap-column-v2 upload-failed-container"
2062
2062
  >
2063
2063
  <CapLabel
2064
2064
  className="upload-failed-message"
@@ -2260,16 +2260,16 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2260
2260
  </Col>
2261
2261
  </CapColumn>
2262
2262
  <CapColumn
2263
- className="upload-instructions-container"
2263
+ className="trai-upload-instructions-container"
2264
2264
  key=".1"
2265
- span={8}
2265
+ span={12}
2266
2266
  >
2267
2267
  <Col
2268
- className="cap-column-v2 upload-instructions-container"
2269
- span={8}
2268
+ className="cap-column-v2 trai-upload-instructions-container"
2269
+ span={12}
2270
2270
  >
2271
2271
  <div
2272
- className="ant-col ant-col-8 cap-column-v2 upload-instructions-container"
2272
+ className="ant-col ant-col-12 cap-column-v2 trai-upload-instructions-container"
2273
2273
  >
2274
2274
  <CapHeading
2275
2275
  key=".0"
@@ -2286,11 +2286,61 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2286
2286
  className="upload-instruction-list"
2287
2287
  key=".1"
2288
2288
  >
2289
+ <InstructionComp
2290
+ message="It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly."
2291
+ >
2292
+ <CapRow
2293
+ className="instruction"
2294
+ >
2295
+ <Row
2296
+ className="cap-row-v2 instruction"
2297
+ gutter={0}
2298
+ >
2299
+ <div
2300
+ className="ant-row cap-row-v2 instruction"
2301
+ >
2302
+ <CapColumn
2303
+ key=".0"
2304
+ span={1}
2305
+ >
2306
+ <Col
2307
+ className="cap-column-v2"
2308
+ span={1}
2309
+ >
2310
+ <div
2311
+ className="ant-col ant-col-1 cap-column-v2"
2312
+ >
2313
+ <span
2314
+ className="instruction-num"
2315
+ key=".0"
2316
+ />
2317
+ </div>
2318
+ </Col>
2319
+ </CapColumn>
2320
+ <CapColumn
2321
+ key=".1"
2322
+ span={23}
2323
+ >
2324
+ <Col
2325
+ className="cap-column-v2"
2326
+ span={23}
2327
+ >
2328
+ <div
2329
+ className="ant-col ant-col-23 cap-column-v2"
2330
+ >
2331
+ It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly.
2332
+ </div>
2333
+ </Col>
2334
+ </CapColumn>
2335
+ </div>
2336
+ </Row>
2337
+ </CapRow>
2338
+ </InstructionComp>
2289
2339
  <InstructionComp
2290
2340
  message={
2291
2341
  <FormattedMessage
2292
- defaultMessage="Download {link} file."
2293
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
2342
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
2343
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
2294
2344
  values={
2295
2345
  Object {
2296
2346
  "link": <a
@@ -2303,7 +2353,6 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2303
2353
  }
2304
2354
  />
2305
2355
  }
2306
- number={1}
2307
2356
  >
2308
2357
  <CapRow
2309
2358
  className="instruction"
@@ -2317,38 +2366,36 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2317
2366
  >
2318
2367
  <CapColumn
2319
2368
  key=".0"
2320
- span={3}
2369
+ span={1}
2321
2370
  >
2322
2371
  <Col
2323
2372
  className="cap-column-v2"
2324
- span={3}
2373
+ span={1}
2325
2374
  >
2326
2375
  <div
2327
- className="ant-col ant-col-3 cap-column-v2"
2376
+ className="ant-col ant-col-1 cap-column-v2"
2328
2377
  >
2329
2378
  <span
2330
2379
  className="instruction-num"
2331
2380
  key=".0"
2332
- >
2333
- 1
2334
- </span>
2381
+ />
2335
2382
  </div>
2336
2383
  </Col>
2337
2384
  </CapColumn>
2338
2385
  <CapColumn
2339
2386
  key=".1"
2340
- span={21}
2387
+ span={23}
2341
2388
  >
2342
2389
  <Col
2343
2390
  className="cap-column-v2"
2344
- span={21}
2391
+ span={23}
2345
2392
  >
2346
2393
  <div
2347
- className="ant-col ant-col-21 cap-column-v2"
2394
+ className="ant-col ant-col-23 cap-column-v2"
2348
2395
  >
2349
2396
  <FormattedMessage
2350
- defaultMessage="Download {link} file."
2351
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
2397
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
2398
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
2352
2399
  key=".0"
2353
2400
  values={
2354
2401
  Object {
@@ -2362,14 +2409,14 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2362
2409
  }
2363
2410
  >
2364
2411
  <span>
2365
- Download
2412
+ Users can also download
2366
2413
  <a
2367
2414
  className="download-sample-link"
2368
2415
  onClick={[Function]}
2369
2416
  >
2370
2417
  Sample CSV
2371
2418
  </a>
2372
- file.
2419
+ file and populate data. Please ensure that datatype is not changed.
2373
2420
  </span>
2374
2421
  </FormattedMessage>
2375
2422
  </div>
@@ -2380,8 +2427,7 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2380
2427
  </CapRow>
2381
2428
  </InstructionComp>
2382
2429
  <InstructionComp
2383
- message="Upload a file of <= 500 rows."
2384
- number={2}
2430
+ message="Maximum 500 rows are allowed in a single file."
2385
2431
  >
2386
2432
  <CapRow
2387
2433
  className="instruction"
@@ -2395,36 +2441,34 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2395
2441
  >
2396
2442
  <CapColumn
2397
2443
  key=".0"
2398
- span={3}
2444
+ span={1}
2399
2445
  >
2400
2446
  <Col
2401
2447
  className="cap-column-v2"
2402
- span={3}
2448
+ span={1}
2403
2449
  >
2404
2450
  <div
2405
- className="ant-col ant-col-3 cap-column-v2"
2451
+ className="ant-col ant-col-1 cap-column-v2"
2406
2452
  >
2407
2453
  <span
2408
2454
  className="instruction-num"
2409
2455
  key=".0"
2410
- >
2411
- 2
2412
- </span>
2456
+ />
2413
2457
  </div>
2414
2458
  </Col>
2415
2459
  </CapColumn>
2416
2460
  <CapColumn
2417
2461
  key=".1"
2418
- span={21}
2462
+ span={23}
2419
2463
  >
2420
2464
  <Col
2421
2465
  className="cap-column-v2"
2422
- span={21}
2466
+ span={23}
2423
2467
  >
2424
2468
  <div
2425
- className="ant-col ant-col-21 cap-column-v2"
2469
+ className="ant-col ant-col-23 cap-column-v2"
2426
2470
  >
2427
- Upload a file of &lt;= 500 rows.
2471
+ Maximum 500 rows are allowed in a single file.
2428
2472
  </div>
2429
2473
  </Col>
2430
2474
  </CapColumn>
@@ -2433,8 +2477,7 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2433
2477
  </CapRow>
2434
2478
  </InstructionComp>
2435
2479
  <InstructionComp
2436
- message="Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message."
2437
- number={3}
2480
+ message="Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message."
2438
2481
  >
2439
2482
  <CapRow
2440
2483
  className="instruction"
@@ -2448,36 +2491,34 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2448
2491
  >
2449
2492
  <CapColumn
2450
2493
  key=".0"
2451
- span={3}
2494
+ span={1}
2452
2495
  >
2453
2496
  <Col
2454
2497
  className="cap-column-v2"
2455
- span={3}
2498
+ span={1}
2456
2499
  >
2457
2500
  <div
2458
- className="ant-col ant-col-3 cap-column-v2"
2501
+ className="ant-col ant-col-1 cap-column-v2"
2459
2502
  >
2460
2503
  <span
2461
2504
  className="instruction-num"
2462
2505
  key=".0"
2463
- >
2464
- 3
2465
- </span>
2506
+ />
2466
2507
  </div>
2467
2508
  </Col>
2468
2509
  </CapColumn>
2469
2510
  <CapColumn
2470
2511
  key=".1"
2471
- span={21}
2512
+ span={23}
2472
2513
  >
2473
2514
  <Col
2474
2515
  className="cap-column-v2"
2475
- span={21}
2516
+ span={23}
2476
2517
  >
2477
2518
  <div
2478
- className="ant-col ant-col-21 cap-column-v2"
2519
+ className="ant-col ant-col-23 cap-column-v2"
2479
2520
  >
2480
- Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message.
2521
+ Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message.
2481
2522
  </div>
2482
2523
  </Col>
2483
2524
  </CapColumn>
@@ -2486,8 +2527,7 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2486
2527
  </CapRow>
2487
2528
  </InstructionComp>
2488
2529
  <InstructionComp
2489
- message="Only the \\"Approved\\" and Active templates will be uploaded."
2490
- number={4}
2530
+ message="Only templates in the Approved/ Registered/ Active state will be uploaded."
2491
2531
  >
2492
2532
  <CapRow
2493
2533
  className="instruction"
@@ -2501,36 +2541,34 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2501
2541
  >
2502
2542
  <CapColumn
2503
2543
  key=".0"
2504
- span={3}
2544
+ span={1}
2505
2545
  >
2506
2546
  <Col
2507
2547
  className="cap-column-v2"
2508
- span={3}
2548
+ span={1}
2509
2549
  >
2510
2550
  <div
2511
- className="ant-col ant-col-3 cap-column-v2"
2551
+ className="ant-col ant-col-1 cap-column-v2"
2512
2552
  >
2513
2553
  <span
2514
2554
  className="instruction-num"
2515
2555
  key=".0"
2516
- >
2517
- 4
2518
- </span>
2556
+ />
2519
2557
  </div>
2520
2558
  </Col>
2521
2559
  </CapColumn>
2522
2560
  <CapColumn
2523
2561
  key=".1"
2524
- span={21}
2562
+ span={23}
2525
2563
  >
2526
2564
  <Col
2527
2565
  className="cap-column-v2"
2528
- span={21}
2566
+ span={23}
2529
2567
  >
2530
2568
  <div
2531
- className="ant-col ant-col-21 cap-column-v2"
2569
+ className="ant-col ant-col-23 cap-column-v2"
2532
2570
  >
2533
- Only the "Approved" and Active templates will be uploaded.
2571
+ Only templates in the Approved/ Registered/ Active state will be uploaded.
2534
2572
  </div>
2535
2573
  </Col>
2536
2574
  </CapColumn>
@@ -2539,8 +2577,7 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2539
2577
  </CapRow>
2540
2578
  </InstructionComp>
2541
2579
  <InstructionComp
2542
- message="Duplicate entries will be overwritten."
2543
- number={5}
2580
+ message="Existing templates with the same template ids will be overwritten."
2544
2581
  >
2545
2582
  <CapRow
2546
2583
  className="instruction"
@@ -2554,36 +2591,184 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2554
2591
  >
2555
2592
  <CapColumn
2556
2593
  key=".0"
2557
- span={3}
2594
+ span={1}
2558
2595
  >
2559
2596
  <Col
2560
2597
  className="cap-column-v2"
2561
- span={3}
2598
+ span={1}
2562
2599
  >
2563
2600
  <div
2564
- className="ant-col ant-col-3 cap-column-v2"
2601
+ className="ant-col ant-col-1 cap-column-v2"
2565
2602
  >
2566
2603
  <span
2567
2604
  className="instruction-num"
2568
2605
  key=".0"
2569
- >
2570
- 5
2571
- </span>
2606
+ />
2607
+ </div>
2608
+ </Col>
2609
+ </CapColumn>
2610
+ <CapColumn
2611
+ key=".1"
2612
+ span={23}
2613
+ >
2614
+ <Col
2615
+ className="cap-column-v2"
2616
+ span={23}
2617
+ >
2618
+ <div
2619
+ className="ant-col ant-col-23 cap-column-v2"
2620
+ >
2621
+ Existing templates with the same template ids will be overwritten.
2622
+ </div>
2623
+ </Col>
2624
+ </CapColumn>
2625
+ </div>
2626
+ </Row>
2627
+ </CapRow>
2628
+ </InstructionComp>
2629
+ <InstructionComp
2630
+ message="The template name needs to be unique. Any new template with a name matching the existing template name will not be created."
2631
+ >
2632
+ <CapRow
2633
+ className="instruction"
2634
+ >
2635
+ <Row
2636
+ className="cap-row-v2 instruction"
2637
+ gutter={0}
2638
+ >
2639
+ <div
2640
+ className="ant-row cap-row-v2 instruction"
2641
+ >
2642
+ <CapColumn
2643
+ key=".0"
2644
+ span={1}
2645
+ >
2646
+ <Col
2647
+ className="cap-column-v2"
2648
+ span={1}
2649
+ >
2650
+ <div
2651
+ className="ant-col ant-col-1 cap-column-v2"
2652
+ >
2653
+ <span
2654
+ className="instruction-num"
2655
+ key=".0"
2656
+ />
2657
+ </div>
2658
+ </Col>
2659
+ </CapColumn>
2660
+ <CapColumn
2661
+ key=".1"
2662
+ span={23}
2663
+ >
2664
+ <Col
2665
+ className="cap-column-v2"
2666
+ span={23}
2667
+ >
2668
+ <div
2669
+ className="ant-col ant-col-23 cap-column-v2"
2670
+ >
2671
+ The template name needs to be unique. Any new template with a name matching the existing template name will not be created.
2672
+ </div>
2673
+ </Col>
2674
+ </CapColumn>
2675
+ </div>
2676
+ </Row>
2677
+ </CapRow>
2678
+ </InstructionComp>
2679
+ <InstructionComp
2680
+ message="Whitespaces will be trimmed from both ends for all template cells."
2681
+ >
2682
+ <CapRow
2683
+ className="instruction"
2684
+ >
2685
+ <Row
2686
+ className="cap-row-v2 instruction"
2687
+ gutter={0}
2688
+ >
2689
+ <div
2690
+ className="ant-row cap-row-v2 instruction"
2691
+ >
2692
+ <CapColumn
2693
+ key=".0"
2694
+ span={1}
2695
+ >
2696
+ <Col
2697
+ className="cap-column-v2"
2698
+ span={1}
2699
+ >
2700
+ <div
2701
+ className="ant-col ant-col-1 cap-column-v2"
2702
+ >
2703
+ <span
2704
+ className="instruction-num"
2705
+ key=".0"
2706
+ />
2707
+ </div>
2708
+ </Col>
2709
+ </CapColumn>
2710
+ <CapColumn
2711
+ key=".1"
2712
+ span={23}
2713
+ >
2714
+ <Col
2715
+ className="cap-column-v2"
2716
+ span={23}
2717
+ >
2718
+ <div
2719
+ className="ant-col ant-col-23 cap-column-v2"
2720
+ >
2721
+ Whitespaces will be trimmed from both ends for all template cells.
2722
+ </div>
2723
+ </Col>
2724
+ </CapColumn>
2725
+ </div>
2726
+ </Row>
2727
+ </CapRow>
2728
+ </InstructionComp>
2729
+ <InstructionComp
2730
+ message="In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV."
2731
+ >
2732
+ <CapRow
2733
+ className="instruction"
2734
+ >
2735
+ <Row
2736
+ className="cap-row-v2 instruction"
2737
+ gutter={0}
2738
+ >
2739
+ <div
2740
+ className="ant-row cap-row-v2 instruction"
2741
+ >
2742
+ <CapColumn
2743
+ key=".0"
2744
+ span={1}
2745
+ >
2746
+ <Col
2747
+ className="cap-column-v2"
2748
+ span={1}
2749
+ >
2750
+ <div
2751
+ className="ant-col ant-col-1 cap-column-v2"
2752
+ >
2753
+ <span
2754
+ className="instruction-num"
2755
+ key=".0"
2756
+ />
2572
2757
  </div>
2573
2758
  </Col>
2574
2759
  </CapColumn>
2575
2760
  <CapColumn
2576
2761
  key=".1"
2577
- span={21}
2762
+ span={23}
2578
2763
  >
2579
2764
  <Col
2580
2765
  className="cap-column-v2"
2581
- span={21}
2766
+ span={23}
2582
2767
  >
2583
2768
  <div
2584
- className="ant-col ant-col-21 cap-column-v2"
2769
+ className="ant-col ant-col-23 cap-column-v2"
2585
2770
  >
2586
- Duplicate entries will be overwritten.
2771
+ In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV.
2587
2772
  </div>
2588
2773
  </Col>
2589
2774
  </CapColumn>
@@ -2591,6 +2776,13 @@ exports[`Creatives SmsTraiCreate test/> invalid file drop 1`] = `
2591
2776
  </Row>
2592
2777
  </CapRow>
2593
2778
  </InstructionComp>
2779
+ <div
2780
+ style={
2781
+ Object {
2782
+ "marginBottom": "200px",
2783
+ }
2784
+ }
2785
+ />
2594
2786
  </div>
2595
2787
  </div>
2596
2788
  </Col>
@@ -4587,28 +4779,28 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4587
4779
  onShowTemplates={[MockFunction]}
4588
4780
  >
4589
4781
  <CapRow
4590
- className="upload-type-group-create-container"
4782
+ className="trai-upload-type-group-create-container"
4591
4783
  span={24}
4592
4784
  >
4593
4785
  <Row
4594
- className="cap-row-v2 upload-type-group-create-container"
4786
+ className="cap-row-v2 trai-upload-type-group-create-container"
4595
4787
  gutter={0}
4596
4788
  span={24}
4597
4789
  >
4598
4790
  <div
4599
- className="ant-row cap-row-v2 upload-type-group-create-container"
4791
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
4600
4792
  span={24}
4601
4793
  >
4602
4794
  <CapColumn
4603
4795
  key=".0"
4604
- span={16}
4796
+ span={12}
4605
4797
  >
4606
4798
  <Col
4607
4799
  className="cap-column-v2"
4608
- span={16}
4800
+ span={12}
4609
4801
  >
4610
4802
  <div
4611
- className="ant-col ant-col-16 cap-column-v2"
4803
+ className="ant-col ant-col-12 cap-column-v2"
4612
4804
  >
4613
4805
  <CapHeading
4614
4806
  className="upload-file-title"
@@ -4749,16 +4941,16 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4749
4941
  </Col>
4750
4942
  </CapColumn>
4751
4943
  <CapColumn
4752
- className="upload-instructions-container"
4944
+ className="trai-upload-instructions-container"
4753
4945
  key=".1"
4754
- span={8}
4946
+ span={12}
4755
4947
  >
4756
4948
  <Col
4757
- className="cap-column-v2 upload-instructions-container"
4758
- span={8}
4949
+ className="cap-column-v2 trai-upload-instructions-container"
4950
+ span={12}
4759
4951
  >
4760
4952
  <div
4761
- className="ant-col ant-col-8 cap-column-v2 upload-instructions-container"
4953
+ className="ant-col ant-col-12 cap-column-v2 trai-upload-instructions-container"
4762
4954
  >
4763
4955
  <CapHeading
4764
4956
  key=".0"
@@ -4775,11 +4967,61 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4775
4967
  className="upload-instruction-list"
4776
4968
  key=".1"
4777
4969
  >
4970
+ <InstructionComp
4971
+ message="It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly."
4972
+ >
4973
+ <CapRow
4974
+ className="instruction"
4975
+ >
4976
+ <Row
4977
+ className="cap-row-v2 instruction"
4978
+ gutter={0}
4979
+ >
4980
+ <div
4981
+ className="ant-row cap-row-v2 instruction"
4982
+ >
4983
+ <CapColumn
4984
+ key=".0"
4985
+ span={1}
4986
+ >
4987
+ <Col
4988
+ className="cap-column-v2"
4989
+ span={1}
4990
+ >
4991
+ <div
4992
+ className="ant-col ant-col-1 cap-column-v2"
4993
+ >
4994
+ <span
4995
+ className="instruction-num"
4996
+ key=".0"
4997
+ />
4998
+ </div>
4999
+ </Col>
5000
+ </CapColumn>
5001
+ <CapColumn
5002
+ key=".1"
5003
+ span={23}
5004
+ >
5005
+ <Col
5006
+ className="cap-column-v2"
5007
+ span={23}
5008
+ >
5009
+ <div
5010
+ className="ant-col ant-col-23 cap-column-v2"
5011
+ >
5012
+ It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly.
5013
+ </div>
5014
+ </Col>
5015
+ </CapColumn>
5016
+ </div>
5017
+ </Row>
5018
+ </CapRow>
5019
+ </InstructionComp>
4778
5020
  <InstructionComp
4779
5021
  message={
4780
5022
  <FormattedMessage
4781
- defaultMessage="Download {link} file."
4782
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
5023
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
5024
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
4783
5025
  values={
4784
5026
  Object {
4785
5027
  "link": <a
@@ -4792,7 +5034,6 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4792
5034
  }
4793
5035
  />
4794
5036
  }
4795
- number={1}
4796
5037
  >
4797
5038
  <CapRow
4798
5039
  className="instruction"
@@ -4806,38 +5047,36 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4806
5047
  >
4807
5048
  <CapColumn
4808
5049
  key=".0"
4809
- span={3}
5050
+ span={1}
4810
5051
  >
4811
5052
  <Col
4812
5053
  className="cap-column-v2"
4813
- span={3}
5054
+ span={1}
4814
5055
  >
4815
5056
  <div
4816
- className="ant-col ant-col-3 cap-column-v2"
5057
+ className="ant-col ant-col-1 cap-column-v2"
4817
5058
  >
4818
5059
  <span
4819
5060
  className="instruction-num"
4820
5061
  key=".0"
4821
- >
4822
- 1
4823
- </span>
5062
+ />
4824
5063
  </div>
4825
5064
  </Col>
4826
5065
  </CapColumn>
4827
5066
  <CapColumn
4828
5067
  key=".1"
4829
- span={21}
5068
+ span={23}
4830
5069
  >
4831
5070
  <Col
4832
5071
  className="cap-column-v2"
4833
- span={21}
5072
+ span={23}
4834
5073
  >
4835
5074
  <div
4836
- className="ant-col ant-col-21 cap-column-v2"
5075
+ className="ant-col ant-col-23 cap-column-v2"
4837
5076
  >
4838
5077
  <FormattedMessage
4839
- defaultMessage="Download {link} file."
4840
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
5078
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
5079
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
4841
5080
  key=".0"
4842
5081
  values={
4843
5082
  Object {
@@ -4851,14 +5090,14 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4851
5090
  }
4852
5091
  >
4853
5092
  <span>
4854
- Download
5093
+ Users can also download
4855
5094
  <a
4856
5095
  className="download-sample-link"
4857
5096
  onClick={[Function]}
4858
5097
  >
4859
5098
  Sample CSV
4860
5099
  </a>
4861
- file.
5100
+ file and populate data. Please ensure that datatype is not changed.
4862
5101
  </span>
4863
5102
  </FormattedMessage>
4864
5103
  </div>
@@ -4869,8 +5108,7 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4869
5108
  </CapRow>
4870
5109
  </InstructionComp>
4871
5110
  <InstructionComp
4872
- message="Upload a file of <= 500 rows."
4873
- number={2}
5111
+ message="Maximum 500 rows are allowed in a single file."
4874
5112
  >
4875
5113
  <CapRow
4876
5114
  className="instruction"
@@ -4884,36 +5122,34 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4884
5122
  >
4885
5123
  <CapColumn
4886
5124
  key=".0"
4887
- span={3}
5125
+ span={1}
4888
5126
  >
4889
5127
  <Col
4890
5128
  className="cap-column-v2"
4891
- span={3}
5129
+ span={1}
4892
5130
  >
4893
5131
  <div
4894
- className="ant-col ant-col-3 cap-column-v2"
5132
+ className="ant-col ant-col-1 cap-column-v2"
4895
5133
  >
4896
5134
  <span
4897
5135
  className="instruction-num"
4898
5136
  key=".0"
4899
- >
4900
- 2
4901
- </span>
5137
+ />
4902
5138
  </div>
4903
5139
  </Col>
4904
5140
  </CapColumn>
4905
5141
  <CapColumn
4906
5142
  key=".1"
4907
- span={21}
5143
+ span={23}
4908
5144
  >
4909
5145
  <Col
4910
5146
  className="cap-column-v2"
4911
- span={21}
5147
+ span={23}
4912
5148
  >
4913
5149
  <div
4914
- className="ant-col ant-col-21 cap-column-v2"
5150
+ className="ant-col ant-col-23 cap-column-v2"
4915
5151
  >
4916
- Upload a file of &lt;= 500 rows.
5152
+ Maximum 500 rows are allowed in a single file.
4917
5153
  </div>
4918
5154
  </Col>
4919
5155
  </CapColumn>
@@ -4922,8 +5158,7 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4922
5158
  </CapRow>
4923
5159
  </InstructionComp>
4924
5160
  <InstructionComp
4925
- message="Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message."
4926
- number={3}
5161
+ message="Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message."
4927
5162
  >
4928
5163
  <CapRow
4929
5164
  className="instruction"
@@ -4937,36 +5172,34 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4937
5172
  >
4938
5173
  <CapColumn
4939
5174
  key=".0"
4940
- span={3}
5175
+ span={1}
4941
5176
  >
4942
5177
  <Col
4943
5178
  className="cap-column-v2"
4944
- span={3}
5179
+ span={1}
4945
5180
  >
4946
5181
  <div
4947
- className="ant-col ant-col-3 cap-column-v2"
5182
+ className="ant-col ant-col-1 cap-column-v2"
4948
5183
  >
4949
5184
  <span
4950
5185
  className="instruction-num"
4951
5186
  key=".0"
4952
- >
4953
- 3
4954
- </span>
5187
+ />
4955
5188
  </div>
4956
5189
  </Col>
4957
5190
  </CapColumn>
4958
5191
  <CapColumn
4959
5192
  key=".1"
4960
- span={21}
5193
+ span={23}
4961
5194
  >
4962
5195
  <Col
4963
5196
  className="cap-column-v2"
4964
- span={21}
5197
+ span={23}
4965
5198
  >
4966
5199
  <div
4967
- className="ant-col ant-col-21 cap-column-v2"
5200
+ className="ant-col ant-col-23 cap-column-v2"
4968
5201
  >
4969
- Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message.
5202
+ Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message.
4970
5203
  </div>
4971
5204
  </Col>
4972
5205
  </CapColumn>
@@ -4975,8 +5208,7 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4975
5208
  </CapRow>
4976
5209
  </InstructionComp>
4977
5210
  <InstructionComp
4978
- message="Only the \\"Approved\\" and Active templates will be uploaded."
4979
- number={4}
5211
+ message="Only templates in the Approved/ Registered/ Active state will be uploaded."
4980
5212
  >
4981
5213
  <CapRow
4982
5214
  className="instruction"
@@ -4990,36 +5222,34 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
4990
5222
  >
4991
5223
  <CapColumn
4992
5224
  key=".0"
4993
- span={3}
5225
+ span={1}
4994
5226
  >
4995
5227
  <Col
4996
5228
  className="cap-column-v2"
4997
- span={3}
5229
+ span={1}
4998
5230
  >
4999
5231
  <div
5000
- className="ant-col ant-col-3 cap-column-v2"
5232
+ className="ant-col ant-col-1 cap-column-v2"
5001
5233
  >
5002
5234
  <span
5003
5235
  className="instruction-num"
5004
5236
  key=".0"
5005
- >
5006
- 4
5007
- </span>
5237
+ />
5008
5238
  </div>
5009
5239
  </Col>
5010
5240
  </CapColumn>
5011
5241
  <CapColumn
5012
5242
  key=".1"
5013
- span={21}
5243
+ span={23}
5014
5244
  >
5015
5245
  <Col
5016
5246
  className="cap-column-v2"
5017
- span={21}
5247
+ span={23}
5018
5248
  >
5019
5249
  <div
5020
- className="ant-col ant-col-21 cap-column-v2"
5250
+ className="ant-col ant-col-23 cap-column-v2"
5021
5251
  >
5022
- Only the "Approved" and Active templates will be uploaded.
5252
+ Only templates in the Approved/ Registered/ Active state will be uploaded.
5023
5253
  </div>
5024
5254
  </Col>
5025
5255
  </CapColumn>
@@ -5028,8 +5258,7 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
5028
5258
  </CapRow>
5029
5259
  </InstructionComp>
5030
5260
  <InstructionComp
5031
- message="Duplicate entries will be overwritten."
5032
- number={5}
5261
+ message="Existing templates with the same template ids will be overwritten."
5033
5262
  >
5034
5263
  <CapRow
5035
5264
  className="instruction"
@@ -5043,36 +5272,34 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
5043
5272
  >
5044
5273
  <CapColumn
5045
5274
  key=".0"
5046
- span={3}
5275
+ span={1}
5047
5276
  >
5048
5277
  <Col
5049
5278
  className="cap-column-v2"
5050
- span={3}
5279
+ span={1}
5051
5280
  >
5052
5281
  <div
5053
- className="ant-col ant-col-3 cap-column-v2"
5282
+ className="ant-col ant-col-1 cap-column-v2"
5054
5283
  >
5055
5284
  <span
5056
5285
  className="instruction-num"
5057
5286
  key=".0"
5058
- >
5059
- 5
5060
- </span>
5287
+ />
5061
5288
  </div>
5062
5289
  </Col>
5063
5290
  </CapColumn>
5064
5291
  <CapColumn
5065
5292
  key=".1"
5066
- span={21}
5293
+ span={23}
5067
5294
  >
5068
5295
  <Col
5069
5296
  className="cap-column-v2"
5070
- span={21}
5297
+ span={23}
5071
5298
  >
5072
5299
  <div
5073
- className="ant-col ant-col-21 cap-column-v2"
5300
+ className="ant-col ant-col-23 cap-column-v2"
5074
5301
  >
5075
- Duplicate entries will be overwritten.
5302
+ Existing templates with the same template ids will be overwritten.
5076
5303
  </div>
5077
5304
  </Col>
5078
5305
  </CapColumn>
@@ -5080,21 +5307,178 @@ exports[`Creatives SmsTraiCreate test/> renders UI 1`] = `
5080
5307
  </Row>
5081
5308
  </CapRow>
5082
5309
  </InstructionComp>
5083
- </div>
5084
- </div>
5085
- </Col>
5086
- </CapColumn>
5087
- <Create__SMSTraiFooter
5088
- key=".2"
5089
- >
5090
- <div
5091
- className="Create__SMSTraiFooter-sc-7ip2ax-0 cEyOCB"
5092
- >
5093
- <CapButton
5094
- className="done-button"
5095
- disabled={true}
5096
- isAddBtn={false}
5097
- onClick={[Function]}
5310
+ <InstructionComp
5311
+ message="The template name needs to be unique. Any new template with a name matching the existing template name will not be created."
5312
+ >
5313
+ <CapRow
5314
+ className="instruction"
5315
+ >
5316
+ <Row
5317
+ className="cap-row-v2 instruction"
5318
+ gutter={0}
5319
+ >
5320
+ <div
5321
+ className="ant-row cap-row-v2 instruction"
5322
+ >
5323
+ <CapColumn
5324
+ key=".0"
5325
+ span={1}
5326
+ >
5327
+ <Col
5328
+ className="cap-column-v2"
5329
+ span={1}
5330
+ >
5331
+ <div
5332
+ className="ant-col ant-col-1 cap-column-v2"
5333
+ >
5334
+ <span
5335
+ className="instruction-num"
5336
+ key=".0"
5337
+ />
5338
+ </div>
5339
+ </Col>
5340
+ </CapColumn>
5341
+ <CapColumn
5342
+ key=".1"
5343
+ span={23}
5344
+ >
5345
+ <Col
5346
+ className="cap-column-v2"
5347
+ span={23}
5348
+ >
5349
+ <div
5350
+ className="ant-col ant-col-23 cap-column-v2"
5351
+ >
5352
+ The template name needs to be unique. Any new template with a name matching the existing template name will not be created.
5353
+ </div>
5354
+ </Col>
5355
+ </CapColumn>
5356
+ </div>
5357
+ </Row>
5358
+ </CapRow>
5359
+ </InstructionComp>
5360
+ <InstructionComp
5361
+ message="Whitespaces will be trimmed from both ends for all template cells."
5362
+ >
5363
+ <CapRow
5364
+ className="instruction"
5365
+ >
5366
+ <Row
5367
+ className="cap-row-v2 instruction"
5368
+ gutter={0}
5369
+ >
5370
+ <div
5371
+ className="ant-row cap-row-v2 instruction"
5372
+ >
5373
+ <CapColumn
5374
+ key=".0"
5375
+ span={1}
5376
+ >
5377
+ <Col
5378
+ className="cap-column-v2"
5379
+ span={1}
5380
+ >
5381
+ <div
5382
+ className="ant-col ant-col-1 cap-column-v2"
5383
+ >
5384
+ <span
5385
+ className="instruction-num"
5386
+ key=".0"
5387
+ />
5388
+ </div>
5389
+ </Col>
5390
+ </CapColumn>
5391
+ <CapColumn
5392
+ key=".1"
5393
+ span={23}
5394
+ >
5395
+ <Col
5396
+ className="cap-column-v2"
5397
+ span={23}
5398
+ >
5399
+ <div
5400
+ className="ant-col ant-col-23 cap-column-v2"
5401
+ >
5402
+ Whitespaces will be trimmed from both ends for all template cells.
5403
+ </div>
5404
+ </Col>
5405
+ </CapColumn>
5406
+ </div>
5407
+ </Row>
5408
+ </CapRow>
5409
+ </InstructionComp>
5410
+ <InstructionComp
5411
+ message="In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV."
5412
+ >
5413
+ <CapRow
5414
+ className="instruction"
5415
+ >
5416
+ <Row
5417
+ className="cap-row-v2 instruction"
5418
+ gutter={0}
5419
+ >
5420
+ <div
5421
+ className="ant-row cap-row-v2 instruction"
5422
+ >
5423
+ <CapColumn
5424
+ key=".0"
5425
+ span={1}
5426
+ >
5427
+ <Col
5428
+ className="cap-column-v2"
5429
+ span={1}
5430
+ >
5431
+ <div
5432
+ className="ant-col ant-col-1 cap-column-v2"
5433
+ >
5434
+ <span
5435
+ className="instruction-num"
5436
+ key=".0"
5437
+ />
5438
+ </div>
5439
+ </Col>
5440
+ </CapColumn>
5441
+ <CapColumn
5442
+ key=".1"
5443
+ span={23}
5444
+ >
5445
+ <Col
5446
+ className="cap-column-v2"
5447
+ span={23}
5448
+ >
5449
+ <div
5450
+ className="ant-col ant-col-23 cap-column-v2"
5451
+ >
5452
+ In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV.
5453
+ </div>
5454
+ </Col>
5455
+ </CapColumn>
5456
+ </div>
5457
+ </Row>
5458
+ </CapRow>
5459
+ </InstructionComp>
5460
+ <div
5461
+ style={
5462
+ Object {
5463
+ "marginBottom": "200px",
5464
+ }
5465
+ }
5466
+ />
5467
+ </div>
5468
+ </div>
5469
+ </Col>
5470
+ </CapColumn>
5471
+ <Create__SMSTraiFooter
5472
+ key=".2"
5473
+ >
5474
+ <div
5475
+ className="Create__SMSTraiFooter-sc-7ip2ax-0 cEyOCB"
5476
+ >
5477
+ <CapButton
5478
+ className="done-button"
5479
+ disabled={true}
5480
+ isAddBtn={false}
5481
+ onClick={[Function]}
5098
5482
  type="primary"
5099
5483
  >
5100
5484
  <Button
@@ -7076,28 +7460,28 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7076
7460
  onShowTemplates={[MockFunction]}
7077
7461
  >
7078
7462
  <CapRow
7079
- className="upload-type-group-create-container"
7463
+ className="trai-upload-type-group-create-container"
7080
7464
  span={24}
7081
7465
  >
7082
7466
  <Row
7083
- className="cap-row-v2 upload-type-group-create-container"
7467
+ className="cap-row-v2 trai-upload-type-group-create-container"
7084
7468
  gutter={0}
7085
7469
  span={24}
7086
7470
  >
7087
7471
  <div
7088
- className="ant-row cap-row-v2 upload-type-group-create-container"
7472
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
7089
7473
  span={24}
7090
7474
  >
7091
7475
  <CapColumn
7092
7476
  key=".0"
7093
- span={16}
7477
+ span={12}
7094
7478
  >
7095
7479
  <Col
7096
7480
  className="cap-column-v2"
7097
- span={16}
7481
+ span={12}
7098
7482
  >
7099
7483
  <div
7100
- className="ant-col ant-col-16 cap-column-v2"
7484
+ className="ant-col ant-col-12 cap-column-v2"
7101
7485
  >
7102
7486
  <CapHeading
7103
7487
  className="upload-file-title"
@@ -7112,16 +7496,16 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7112
7496
  </div>
7113
7497
  </CapHeading>
7114
7498
  <CapRow
7115
- className="upload-type-group-create-container"
7499
+ className="trai-upload-type-group-create-container"
7116
7500
  span={24}
7117
7501
  >
7118
7502
  <Row
7119
- className="cap-row-v2 upload-type-group-create-container"
7503
+ className="cap-row-v2 trai-upload-type-group-create-container"
7120
7504
  gutter={0}
7121
7505
  span={24}
7122
7506
  >
7123
7507
  <div
7124
- className="ant-row cap-row-v2 upload-type-group-create-container"
7508
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
7125
7509
  span={24}
7126
7510
  >
7127
7511
  <CapDivider
@@ -7148,14 +7532,14 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7148
7532
  >
7149
7533
  <CapColumn
7150
7534
  key=".0"
7151
- span={13}
7535
+ span={10}
7152
7536
  >
7153
7537
  <Col
7154
7538
  className="cap-column-v2"
7155
- span={13}
7539
+ span={10}
7156
7540
  >
7157
7541
  <div
7158
- className="ant-col ant-col-13 cap-column-v2"
7542
+ className="ant-col ant-col-10 cap-column-v2"
7159
7543
  >
7160
7544
  <CapLabel__CapLabelInline
7161
7545
  key=".0"
@@ -7187,14 +7571,14 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7187
7571
  </CapColumn>
7188
7572
  <CapColumn
7189
7573
  className="validation-count-container"
7190
- span={3}
7574
+ span={4}
7191
7575
  >
7192
7576
  <Col
7193
7577
  className="cap-column-v2 validation-count-container"
7194
- span={3}
7578
+ span={4}
7195
7579
  >
7196
7580
  <div
7197
- className="ant-col ant-col-3 cap-column-v2 validation-count-container"
7581
+ className="ant-col ant-col-4 cap-column-v2 validation-count-container"
7198
7582
  >
7199
7583
  <CapLabel
7200
7584
  className="validation-count-label"
@@ -7267,14 +7651,14 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7267
7651
  </CapColumn>
7268
7652
  <CapColumn
7269
7653
  className="validation-count-container"
7270
- span={3}
7654
+ span={4}
7271
7655
  >
7272
7656
  <Col
7273
7657
  className="cap-column-v2 validation-count-container"
7274
- span={3}
7658
+ span={4}
7275
7659
  >
7276
7660
  <div
7277
- className="ant-col ant-col-3 cap-column-v2 validation-count-container"
7661
+ className="ant-col ant-col-4 cap-column-v2 validation-count-container"
7278
7662
  >
7279
7663
  <CapLabel
7280
7664
  className="validation-count-label"
@@ -7374,14 +7758,14 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7374
7758
  </Col>
7375
7759
  </CapColumn>
7376
7760
  <CapColumn
7377
- span={4}
7761
+ span={5}
7378
7762
  >
7379
7763
  <Col
7380
7764
  className="cap-column-v2"
7381
- span={4}
7765
+ span={5}
7382
7766
  >
7383
7767
  <div
7384
- className="ant-col ant-col-4 cap-column-v2"
7768
+ className="ant-col ant-col-5 cap-column-v2"
7385
7769
  >
7386
7770
  <a
7387
7771
  className="download-issues-csv-link"
@@ -7486,16 +7870,16 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7486
7870
  </Col>
7487
7871
  </CapColumn>
7488
7872
  <CapColumn
7489
- className="upload-instructions-container"
7873
+ className="trai-upload-instructions-container"
7490
7874
  key=".1"
7491
- span={8}
7875
+ span={12}
7492
7876
  >
7493
7877
  <Col
7494
- className="cap-column-v2 upload-instructions-container"
7495
- span={8}
7878
+ className="cap-column-v2 trai-upload-instructions-container"
7879
+ span={12}
7496
7880
  >
7497
7881
  <div
7498
- className="ant-col ant-col-8 cap-column-v2 upload-instructions-container"
7882
+ className="ant-col ant-col-12 cap-column-v2 trai-upload-instructions-container"
7499
7883
  >
7500
7884
  <CapHeading
7501
7885
  key=".0"
@@ -7512,24 +7896,248 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7512
7896
  className="upload-instruction-list"
7513
7897
  key=".1"
7514
7898
  >
7899
+ <InstructionComp
7900
+ message="It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly."
7901
+ >
7902
+ <CapRow
7903
+ className="instruction"
7904
+ >
7905
+ <Row
7906
+ className="cap-row-v2 instruction"
7907
+ gutter={0}
7908
+ >
7909
+ <div
7910
+ className="ant-row cap-row-v2 instruction"
7911
+ >
7912
+ <CapColumn
7913
+ key=".0"
7914
+ span={1}
7915
+ >
7916
+ <Col
7917
+ className="cap-column-v2"
7918
+ span={1}
7919
+ >
7920
+ <div
7921
+ className="ant-col ant-col-1 cap-column-v2"
7922
+ >
7923
+ <span
7924
+ className="instruction-num"
7925
+ key=".0"
7926
+ />
7927
+ </div>
7928
+ </Col>
7929
+ </CapColumn>
7930
+ <CapColumn
7931
+ key=".1"
7932
+ span={23}
7933
+ >
7934
+ <Col
7935
+ className="cap-column-v2"
7936
+ span={23}
7937
+ >
7938
+ <div
7939
+ className="ant-col ant-col-23 cap-column-v2"
7940
+ >
7941
+ It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly.
7942
+ </div>
7943
+ </Col>
7944
+ </CapColumn>
7945
+ </div>
7946
+ </Row>
7947
+ </CapRow>
7948
+ </InstructionComp>
7515
7949
  <InstructionComp
7516
7950
  message={
7517
7951
  <FormattedMessage
7518
- defaultMessage="Download {link} file."
7519
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
7952
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
7953
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
7520
7954
  values={
7521
7955
  Object {
7522
7956
  "link": <a
7523
7957
  className="download-sample-link"
7524
7958
  onClick={[Function]}
7525
7959
  >
7526
- Sample CSV
7527
- </a>,
7528
- }
7529
- }
7530
- />
7531
- }
7532
- number={1}
7960
+ Sample CSV
7961
+ </a>,
7962
+ }
7963
+ }
7964
+ />
7965
+ }
7966
+ >
7967
+ <CapRow
7968
+ className="instruction"
7969
+ >
7970
+ <Row
7971
+ className="cap-row-v2 instruction"
7972
+ gutter={0}
7973
+ >
7974
+ <div
7975
+ className="ant-row cap-row-v2 instruction"
7976
+ >
7977
+ <CapColumn
7978
+ key=".0"
7979
+ span={1}
7980
+ >
7981
+ <Col
7982
+ className="cap-column-v2"
7983
+ span={1}
7984
+ >
7985
+ <div
7986
+ className="ant-col ant-col-1 cap-column-v2"
7987
+ >
7988
+ <span
7989
+ className="instruction-num"
7990
+ key=".0"
7991
+ />
7992
+ </div>
7993
+ </Col>
7994
+ </CapColumn>
7995
+ <CapColumn
7996
+ key=".1"
7997
+ span={23}
7998
+ >
7999
+ <Col
8000
+ className="cap-column-v2"
8001
+ span={23}
8002
+ >
8003
+ <div
8004
+ className="ant-col ant-col-23 cap-column-v2"
8005
+ >
8006
+ <FormattedMessage
8007
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
8008
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
8009
+ key=".0"
8010
+ values={
8011
+ Object {
8012
+ "link": <a
8013
+ className="download-sample-link"
8014
+ onClick={[Function]}
8015
+ >
8016
+ Sample CSV
8017
+ </a>,
8018
+ }
8019
+ }
8020
+ >
8021
+ <span>
8022
+ Users can also download
8023
+ <a
8024
+ className="download-sample-link"
8025
+ onClick={[Function]}
8026
+ >
8027
+ Sample CSV
8028
+ </a>
8029
+ file and populate data. Please ensure that datatype is not changed.
8030
+ </span>
8031
+ </FormattedMessage>
8032
+ </div>
8033
+ </Col>
8034
+ </CapColumn>
8035
+ </div>
8036
+ </Row>
8037
+ </CapRow>
8038
+ </InstructionComp>
8039
+ <InstructionComp
8040
+ message="Maximum 500 rows are allowed in a single file."
8041
+ >
8042
+ <CapRow
8043
+ className="instruction"
8044
+ >
8045
+ <Row
8046
+ className="cap-row-v2 instruction"
8047
+ gutter={0}
8048
+ >
8049
+ <div
8050
+ className="ant-row cap-row-v2 instruction"
8051
+ >
8052
+ <CapColumn
8053
+ key=".0"
8054
+ span={1}
8055
+ >
8056
+ <Col
8057
+ className="cap-column-v2"
8058
+ span={1}
8059
+ >
8060
+ <div
8061
+ className="ant-col ant-col-1 cap-column-v2"
8062
+ >
8063
+ <span
8064
+ className="instruction-num"
8065
+ key=".0"
8066
+ />
8067
+ </div>
8068
+ </Col>
8069
+ </CapColumn>
8070
+ <CapColumn
8071
+ key=".1"
8072
+ span={23}
8073
+ >
8074
+ <Col
8075
+ className="cap-column-v2"
8076
+ span={23}
8077
+ >
8078
+ <div
8079
+ className="ant-col ant-col-23 cap-column-v2"
8080
+ >
8081
+ Maximum 500 rows are allowed in a single file.
8082
+ </div>
8083
+ </Col>
8084
+ </CapColumn>
8085
+ </div>
8086
+ </Row>
8087
+ </CapRow>
8088
+ </InstructionComp>
8089
+ <InstructionComp
8090
+ message="Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message."
8091
+ >
8092
+ <CapRow
8093
+ className="instruction"
8094
+ >
8095
+ <Row
8096
+ className="cap-row-v2 instruction"
8097
+ gutter={0}
8098
+ >
8099
+ <div
8100
+ className="ant-row cap-row-v2 instruction"
8101
+ >
8102
+ <CapColumn
8103
+ key=".0"
8104
+ span={1}
8105
+ >
8106
+ <Col
8107
+ className="cap-column-v2"
8108
+ span={1}
8109
+ >
8110
+ <div
8111
+ className="ant-col ant-col-1 cap-column-v2"
8112
+ >
8113
+ <span
8114
+ className="instruction-num"
8115
+ key=".0"
8116
+ />
8117
+ </div>
8118
+ </Col>
8119
+ </CapColumn>
8120
+ <CapColumn
8121
+ key=".1"
8122
+ span={23}
8123
+ >
8124
+ <Col
8125
+ className="cap-column-v2"
8126
+ span={23}
8127
+ >
8128
+ <div
8129
+ className="ant-col ant-col-23 cap-column-v2"
8130
+ >
8131
+ Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message.
8132
+ </div>
8133
+ </Col>
8134
+ </CapColumn>
8135
+ </div>
8136
+ </Row>
8137
+ </CapRow>
8138
+ </InstructionComp>
8139
+ <InstructionComp
8140
+ message="Only templates in the Approved/ Registered/ Active state will be uploaded."
7533
8141
  >
7534
8142
  <CapRow
7535
8143
  className="instruction"
@@ -7543,61 +8151,34 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7543
8151
  >
7544
8152
  <CapColumn
7545
8153
  key=".0"
7546
- span={3}
8154
+ span={1}
7547
8155
  >
7548
8156
  <Col
7549
8157
  className="cap-column-v2"
7550
- span={3}
8158
+ span={1}
7551
8159
  >
7552
8160
  <div
7553
- className="ant-col ant-col-3 cap-column-v2"
8161
+ className="ant-col ant-col-1 cap-column-v2"
7554
8162
  >
7555
8163
  <span
7556
8164
  className="instruction-num"
7557
8165
  key=".0"
7558
- >
7559
- 1
7560
- </span>
8166
+ />
7561
8167
  </div>
7562
8168
  </Col>
7563
8169
  </CapColumn>
7564
8170
  <CapColumn
7565
8171
  key=".1"
7566
- span={21}
8172
+ span={23}
7567
8173
  >
7568
8174
  <Col
7569
8175
  className="cap-column-v2"
7570
- span={21}
8176
+ span={23}
7571
8177
  >
7572
8178
  <div
7573
- className="ant-col ant-col-21 cap-column-v2"
8179
+ className="ant-col ant-col-23 cap-column-v2"
7574
8180
  >
7575
- <FormattedMessage
7576
- defaultMessage="Download {link} file."
7577
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
7578
- key=".0"
7579
- values={
7580
- Object {
7581
- "link": <a
7582
- className="download-sample-link"
7583
- onClick={[Function]}
7584
- >
7585
- Sample CSV
7586
- </a>,
7587
- }
7588
- }
7589
- >
7590
- <span>
7591
- Download
7592
- <a
7593
- className="download-sample-link"
7594
- onClick={[Function]}
7595
- >
7596
- Sample CSV
7597
- </a>
7598
- file.
7599
- </span>
7600
- </FormattedMessage>
8181
+ Only templates in the Approved/ Registered/ Active state will be uploaded.
7601
8182
  </div>
7602
8183
  </Col>
7603
8184
  </CapColumn>
@@ -7606,8 +8187,7 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7606
8187
  </CapRow>
7607
8188
  </InstructionComp>
7608
8189
  <InstructionComp
7609
- message="Upload a file of <= 500 rows."
7610
- number={2}
8190
+ message="Existing templates with the same template ids will be overwritten."
7611
8191
  >
7612
8192
  <CapRow
7613
8193
  className="instruction"
@@ -7621,36 +8201,34 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7621
8201
  >
7622
8202
  <CapColumn
7623
8203
  key=".0"
7624
- span={3}
8204
+ span={1}
7625
8205
  >
7626
8206
  <Col
7627
8207
  className="cap-column-v2"
7628
- span={3}
8208
+ span={1}
7629
8209
  >
7630
8210
  <div
7631
- className="ant-col ant-col-3 cap-column-v2"
8211
+ className="ant-col ant-col-1 cap-column-v2"
7632
8212
  >
7633
8213
  <span
7634
8214
  className="instruction-num"
7635
8215
  key=".0"
7636
- >
7637
- 2
7638
- </span>
8216
+ />
7639
8217
  </div>
7640
8218
  </Col>
7641
8219
  </CapColumn>
7642
8220
  <CapColumn
7643
8221
  key=".1"
7644
- span={21}
8222
+ span={23}
7645
8223
  >
7646
8224
  <Col
7647
8225
  className="cap-column-v2"
7648
- span={21}
8226
+ span={23}
7649
8227
  >
7650
8228
  <div
7651
- className="ant-col ant-col-21 cap-column-v2"
8229
+ className="ant-col ant-col-23 cap-column-v2"
7652
8230
  >
7653
- Upload a file of &lt;= 500 rows.
8231
+ Existing templates with the same template ids will be overwritten.
7654
8232
  </div>
7655
8233
  </Col>
7656
8234
  </CapColumn>
@@ -7659,8 +8237,7 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7659
8237
  </CapRow>
7660
8238
  </InstructionComp>
7661
8239
  <InstructionComp
7662
- message="Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message."
7663
- number={3}
8240
+ message="The template name needs to be unique. Any new template with a name matching the existing template name will not be created."
7664
8241
  >
7665
8242
  <CapRow
7666
8243
  className="instruction"
@@ -7674,36 +8251,34 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7674
8251
  >
7675
8252
  <CapColumn
7676
8253
  key=".0"
7677
- span={3}
8254
+ span={1}
7678
8255
  >
7679
8256
  <Col
7680
8257
  className="cap-column-v2"
7681
- span={3}
8258
+ span={1}
7682
8259
  >
7683
8260
  <div
7684
- className="ant-col ant-col-3 cap-column-v2"
8261
+ className="ant-col ant-col-1 cap-column-v2"
7685
8262
  >
7686
8263
  <span
7687
8264
  className="instruction-num"
7688
8265
  key=".0"
7689
- >
7690
- 3
7691
- </span>
8266
+ />
7692
8267
  </div>
7693
8268
  </Col>
7694
8269
  </CapColumn>
7695
8270
  <CapColumn
7696
8271
  key=".1"
7697
- span={21}
8272
+ span={23}
7698
8273
  >
7699
8274
  <Col
7700
8275
  className="cap-column-v2"
7701
- span={21}
8276
+ span={23}
7702
8277
  >
7703
8278
  <div
7704
- className="ant-col ant-col-21 cap-column-v2"
8279
+ className="ant-col ant-col-23 cap-column-v2"
7705
8280
  >
7706
- Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message.
8281
+ The template name needs to be unique. Any new template with a name matching the existing template name will not be created.
7707
8282
  </div>
7708
8283
  </Col>
7709
8284
  </CapColumn>
@@ -7712,8 +8287,7 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7712
8287
  </CapRow>
7713
8288
  </InstructionComp>
7714
8289
  <InstructionComp
7715
- message="Only the \\"Approved\\" and “Active” templates will be uploaded."
7716
- number={4}
8290
+ message="Whitespaces will be trimmed from both ends for all template cells."
7717
8291
  >
7718
8292
  <CapRow
7719
8293
  className="instruction"
@@ -7727,36 +8301,34 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7727
8301
  >
7728
8302
  <CapColumn
7729
8303
  key=".0"
7730
- span={3}
8304
+ span={1}
7731
8305
  >
7732
8306
  <Col
7733
8307
  className="cap-column-v2"
7734
- span={3}
8308
+ span={1}
7735
8309
  >
7736
8310
  <div
7737
- className="ant-col ant-col-3 cap-column-v2"
8311
+ className="ant-col ant-col-1 cap-column-v2"
7738
8312
  >
7739
8313
  <span
7740
8314
  className="instruction-num"
7741
8315
  key=".0"
7742
- >
7743
- 4
7744
- </span>
8316
+ />
7745
8317
  </div>
7746
8318
  </Col>
7747
8319
  </CapColumn>
7748
8320
  <CapColumn
7749
8321
  key=".1"
7750
- span={21}
8322
+ span={23}
7751
8323
  >
7752
8324
  <Col
7753
8325
  className="cap-column-v2"
7754
- span={21}
8326
+ span={23}
7755
8327
  >
7756
8328
  <div
7757
- className="ant-col ant-col-21 cap-column-v2"
8329
+ className="ant-col ant-col-23 cap-column-v2"
7758
8330
  >
7759
- Only the "Approved" and “Active” templates will be uploaded.
8331
+ Whitespaces will be trimmed from both ends for all template cells.
7760
8332
  </div>
7761
8333
  </Col>
7762
8334
  </CapColumn>
@@ -7765,8 +8337,7 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7765
8337
  </CapRow>
7766
8338
  </InstructionComp>
7767
8339
  <InstructionComp
7768
- message="Duplicate entries will be overwritten."
7769
- number={5}
8340
+ message="In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV."
7770
8341
  >
7771
8342
  <CapRow
7772
8343
  className="instruction"
@@ -7780,36 +8351,34 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7780
8351
  >
7781
8352
  <CapColumn
7782
8353
  key=".0"
7783
- span={3}
8354
+ span={1}
7784
8355
  >
7785
8356
  <Col
7786
8357
  className="cap-column-v2"
7787
- span={3}
8358
+ span={1}
7788
8359
  >
7789
8360
  <div
7790
- className="ant-col ant-col-3 cap-column-v2"
8361
+ className="ant-col ant-col-1 cap-column-v2"
7791
8362
  >
7792
8363
  <span
7793
8364
  className="instruction-num"
7794
8365
  key=".0"
7795
- >
7796
- 5
7797
- </span>
8366
+ />
7798
8367
  </div>
7799
8368
  </Col>
7800
8369
  </CapColumn>
7801
8370
  <CapColumn
7802
8371
  key=".1"
7803
- span={21}
8372
+ span={23}
7804
8373
  >
7805
8374
  <Col
7806
8375
  className="cap-column-v2"
7807
- span={21}
8376
+ span={23}
7808
8377
  >
7809
8378
  <div
7810
- className="ant-col ant-col-21 cap-column-v2"
8379
+ className="ant-col ant-col-23 cap-column-v2"
7811
8380
  >
7812
- Duplicate entries will be overwritten.
8381
+ In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV.
7813
8382
  </div>
7814
8383
  </Col>
7815
8384
  </CapColumn>
@@ -7817,6 +8386,13 @@ exports[`Creatives SmsTraiCreate test/> valid file drop 1`] = `
7817
8386
  </Row>
7818
8387
  </CapRow>
7819
8388
  </InstructionComp>
8389
+ <div
8390
+ style={
8391
+ Object {
8392
+ "marginBottom": "200px",
8393
+ }
8394
+ }
8395
+ />
7820
8396
  </div>
7821
8397
  </div>
7822
8398
  </Col>
@@ -9913,28 +10489,28 @@ TC",
9913
10489
  onShowTemplates={[MockFunction]}
9914
10490
  >
9915
10491
  <CapRow
9916
- className="upload-type-group-create-container"
10492
+ className="trai-upload-type-group-create-container"
9917
10493
  span={24}
9918
10494
  >
9919
10495
  <Row
9920
- className="cap-row-v2 upload-type-group-create-container"
10496
+ className="cap-row-v2 trai-upload-type-group-create-container"
9921
10497
  gutter={0}
9922
10498
  span={24}
9923
10499
  >
9924
10500
  <div
9925
- className="ant-row cap-row-v2 upload-type-group-create-container"
10501
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
9926
10502
  span={24}
9927
10503
  >
9928
10504
  <CapColumn
9929
10505
  key=".0"
9930
- span={16}
10506
+ span={12}
9931
10507
  >
9932
10508
  <Col
9933
10509
  className="cap-column-v2"
9934
- span={16}
10510
+ span={12}
9935
10511
  >
9936
10512
  <div
9937
- className="ant-col ant-col-16 cap-column-v2"
10513
+ className="ant-col ant-col-12 cap-column-v2"
9938
10514
  >
9939
10515
  <CapHeading
9940
10516
  className="upload-file-title"
@@ -9949,16 +10525,16 @@ TC",
9949
10525
  </div>
9950
10526
  </CapHeading>
9951
10527
  <CapRow
9952
- className="upload-type-group-create-container"
10528
+ className="trai-upload-type-group-create-container"
9953
10529
  span={24}
9954
10530
  >
9955
10531
  <Row
9956
- className="cap-row-v2 upload-type-group-create-container"
10532
+ className="cap-row-v2 trai-upload-type-group-create-container"
9957
10533
  gutter={0}
9958
10534
  span={24}
9959
10535
  >
9960
10536
  <div
9961
- className="ant-row cap-row-v2 upload-type-group-create-container"
10537
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
9962
10538
  span={24}
9963
10539
  >
9964
10540
  <CapDivider
@@ -9985,14 +10561,14 @@ TC",
9985
10561
  >
9986
10562
  <CapColumn
9987
10563
  key=".0"
9988
- span={13}
10564
+ span={10}
9989
10565
  >
9990
10566
  <Col
9991
10567
  className="cap-column-v2"
9992
- span={13}
10568
+ span={10}
9993
10569
  >
9994
10570
  <div
9995
- className="ant-col ant-col-13 cap-column-v2"
10571
+ className="ant-col ant-col-10 cap-column-v2"
9996
10572
  >
9997
10573
  <CapLabel__CapLabelInline
9998
10574
  key=".0"
@@ -10024,14 +10600,14 @@ TC",
10024
10600
  </CapColumn>
10025
10601
  <CapColumn
10026
10602
  className="validation-count-container"
10027
- span={3}
10603
+ span={4}
10028
10604
  >
10029
10605
  <Col
10030
10606
  className="cap-column-v2 validation-count-container"
10031
- span={3}
10607
+ span={4}
10032
10608
  >
10033
10609
  <div
10034
- className="ant-col ant-col-3 cap-column-v2 validation-count-container"
10610
+ className="ant-col ant-col-4 cap-column-v2 validation-count-container"
10035
10611
  >
10036
10612
  <CapLabel
10037
10613
  className="validation-count-label"
@@ -10104,14 +10680,14 @@ TC",
10104
10680
  </CapColumn>
10105
10681
  <CapColumn
10106
10682
  className="validation-count-container"
10107
- span={3}
10683
+ span={4}
10108
10684
  >
10109
10685
  <Col
10110
10686
  className="cap-column-v2 validation-count-container"
10111
- span={3}
10687
+ span={4}
10112
10688
  >
10113
10689
  <div
10114
- className="ant-col ant-col-3 cap-column-v2 validation-count-container"
10690
+ className="ant-col ant-col-4 cap-column-v2 validation-count-container"
10115
10691
  >
10116
10692
  <CapLabel
10117
10693
  className="validation-count-label"
@@ -10211,14 +10787,14 @@ TC",
10211
10787
  </Col>
10212
10788
  </CapColumn>
10213
10789
  <CapColumn
10214
- span={4}
10790
+ span={5}
10215
10791
  >
10216
10792
  <Col
10217
10793
  className="cap-column-v2"
10218
- span={4}
10794
+ span={5}
10219
10795
  >
10220
10796
  <div
10221
- className="ant-col ant-col-4 cap-column-v2"
10797
+ className="ant-col ant-col-5 cap-column-v2"
10222
10798
  >
10223
10799
  <a
10224
10800
  className="download-issues-csv-link"
@@ -10323,16 +10899,16 @@ TC",
10323
10899
  </Col>
10324
10900
  </CapColumn>
10325
10901
  <CapColumn
10326
- className="upload-instructions-container"
10902
+ className="trai-upload-instructions-container"
10327
10903
  key=".1"
10328
- span={8}
10904
+ span={12}
10329
10905
  >
10330
10906
  <Col
10331
- className="cap-column-v2 upload-instructions-container"
10332
- span={8}
10907
+ className="cap-column-v2 trai-upload-instructions-container"
10908
+ span={12}
10333
10909
  >
10334
10910
  <div
10335
- className="ant-col ant-col-8 cap-column-v2 upload-instructions-container"
10911
+ className="ant-col ant-col-12 cap-column-v2 trai-upload-instructions-container"
10336
10912
  >
10337
10913
  <CapHeading
10338
10914
  key=".0"
@@ -10349,24 +10925,248 @@ TC",
10349
10925
  className="upload-instruction-list"
10350
10926
  key=".1"
10351
10927
  >
10928
+ <InstructionComp
10929
+ message="It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly."
10930
+ >
10931
+ <CapRow
10932
+ className="instruction"
10933
+ >
10934
+ <Row
10935
+ className="cap-row-v2 instruction"
10936
+ gutter={0}
10937
+ >
10938
+ <div
10939
+ className="ant-row cap-row-v2 instruction"
10940
+ >
10941
+ <CapColumn
10942
+ key=".0"
10943
+ span={1}
10944
+ >
10945
+ <Col
10946
+ className="cap-column-v2"
10947
+ span={1}
10948
+ >
10949
+ <div
10950
+ className="ant-col ant-col-1 cap-column-v2"
10951
+ >
10952
+ <span
10953
+ className="instruction-num"
10954
+ key=".0"
10955
+ />
10956
+ </div>
10957
+ </Col>
10958
+ </CapColumn>
10959
+ <CapColumn
10960
+ key=".1"
10961
+ span={23}
10962
+ >
10963
+ <Col
10964
+ className="cap-column-v2"
10965
+ span={23}
10966
+ >
10967
+ <div
10968
+ className="ant-col ant-col-23 cap-column-v2"
10969
+ >
10970
+ It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly.
10971
+ </div>
10972
+ </Col>
10973
+ </CapColumn>
10974
+ </div>
10975
+ </Row>
10976
+ </CapRow>
10977
+ </InstructionComp>
10352
10978
  <InstructionComp
10353
10979
  message={
10354
10980
  <FormattedMessage
10355
- defaultMessage="Download {link} file."
10356
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
10981
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
10982
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
10357
10983
  values={
10358
10984
  Object {
10359
10985
  "link": <a
10360
10986
  className="download-sample-link"
10361
10987
  onClick={[Function]}
10362
10988
  >
10363
- Sample CSV
10364
- </a>,
10365
- }
10366
- }
10367
- />
10368
- }
10369
- number={1}
10989
+ Sample CSV
10990
+ </a>,
10991
+ }
10992
+ }
10993
+ />
10994
+ }
10995
+ >
10996
+ <CapRow
10997
+ className="instruction"
10998
+ >
10999
+ <Row
11000
+ className="cap-row-v2 instruction"
11001
+ gutter={0}
11002
+ >
11003
+ <div
11004
+ className="ant-row cap-row-v2 instruction"
11005
+ >
11006
+ <CapColumn
11007
+ key=".0"
11008
+ span={1}
11009
+ >
11010
+ <Col
11011
+ className="cap-column-v2"
11012
+ span={1}
11013
+ >
11014
+ <div
11015
+ className="ant-col ant-col-1 cap-column-v2"
11016
+ >
11017
+ <span
11018
+ className="instruction-num"
11019
+ key=".0"
11020
+ />
11021
+ </div>
11022
+ </Col>
11023
+ </CapColumn>
11024
+ <CapColumn
11025
+ key=".1"
11026
+ span={23}
11027
+ >
11028
+ <Col
11029
+ className="cap-column-v2"
11030
+ span={23}
11031
+ >
11032
+ <div
11033
+ className="ant-col ant-col-23 cap-column-v2"
11034
+ >
11035
+ <FormattedMessage
11036
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
11037
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
11038
+ key=".0"
11039
+ values={
11040
+ Object {
11041
+ "link": <a
11042
+ className="download-sample-link"
11043
+ onClick={[Function]}
11044
+ >
11045
+ Sample CSV
11046
+ </a>,
11047
+ }
11048
+ }
11049
+ >
11050
+ <span>
11051
+ Users can also download
11052
+ <a
11053
+ className="download-sample-link"
11054
+ onClick={[Function]}
11055
+ >
11056
+ Sample CSV
11057
+ </a>
11058
+ file and populate data. Please ensure that datatype is not changed.
11059
+ </span>
11060
+ </FormattedMessage>
11061
+ </div>
11062
+ </Col>
11063
+ </CapColumn>
11064
+ </div>
11065
+ </Row>
11066
+ </CapRow>
11067
+ </InstructionComp>
11068
+ <InstructionComp
11069
+ message="Maximum 500 rows are allowed in a single file."
11070
+ >
11071
+ <CapRow
11072
+ className="instruction"
11073
+ >
11074
+ <Row
11075
+ className="cap-row-v2 instruction"
11076
+ gutter={0}
11077
+ >
11078
+ <div
11079
+ className="ant-row cap-row-v2 instruction"
11080
+ >
11081
+ <CapColumn
11082
+ key=".0"
11083
+ span={1}
11084
+ >
11085
+ <Col
11086
+ className="cap-column-v2"
11087
+ span={1}
11088
+ >
11089
+ <div
11090
+ className="ant-col ant-col-1 cap-column-v2"
11091
+ >
11092
+ <span
11093
+ className="instruction-num"
11094
+ key=".0"
11095
+ />
11096
+ </div>
11097
+ </Col>
11098
+ </CapColumn>
11099
+ <CapColumn
11100
+ key=".1"
11101
+ span={23}
11102
+ >
11103
+ <Col
11104
+ className="cap-column-v2"
11105
+ span={23}
11106
+ >
11107
+ <div
11108
+ className="ant-col ant-col-23 cap-column-v2"
11109
+ >
11110
+ Maximum 500 rows are allowed in a single file.
11111
+ </div>
11112
+ </Col>
11113
+ </CapColumn>
11114
+ </div>
11115
+ </Row>
11116
+ </CapRow>
11117
+ </InstructionComp>
11118
+ <InstructionComp
11119
+ message="Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message."
11120
+ >
11121
+ <CapRow
11122
+ className="instruction"
11123
+ >
11124
+ <Row
11125
+ className="cap-row-v2 instruction"
11126
+ gutter={0}
11127
+ >
11128
+ <div
11129
+ className="ant-row cap-row-v2 instruction"
11130
+ >
11131
+ <CapColumn
11132
+ key=".0"
11133
+ span={1}
11134
+ >
11135
+ <Col
11136
+ className="cap-column-v2"
11137
+ span={1}
11138
+ >
11139
+ <div
11140
+ className="ant-col ant-col-1 cap-column-v2"
11141
+ >
11142
+ <span
11143
+ className="instruction-num"
11144
+ key=".0"
11145
+ />
11146
+ </div>
11147
+ </Col>
11148
+ </CapColumn>
11149
+ <CapColumn
11150
+ key=".1"
11151
+ span={23}
11152
+ >
11153
+ <Col
11154
+ className="cap-column-v2"
11155
+ span={23}
11156
+ >
11157
+ <div
11158
+ className="ant-col ant-col-23 cap-column-v2"
11159
+ >
11160
+ Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message.
11161
+ </div>
11162
+ </Col>
11163
+ </CapColumn>
11164
+ </div>
11165
+ </Row>
11166
+ </CapRow>
11167
+ </InstructionComp>
11168
+ <InstructionComp
11169
+ message="Only templates in the Approved/ Registered/ Active state will be uploaded."
10370
11170
  >
10371
11171
  <CapRow
10372
11172
  className="instruction"
@@ -10380,61 +11180,34 @@ TC",
10380
11180
  >
10381
11181
  <CapColumn
10382
11182
  key=".0"
10383
- span={3}
11183
+ span={1}
10384
11184
  >
10385
11185
  <Col
10386
11186
  className="cap-column-v2"
10387
- span={3}
11187
+ span={1}
10388
11188
  >
10389
11189
  <div
10390
- className="ant-col ant-col-3 cap-column-v2"
11190
+ className="ant-col ant-col-1 cap-column-v2"
10391
11191
  >
10392
11192
  <span
10393
11193
  className="instruction-num"
10394
11194
  key=".0"
10395
- >
10396
- 1
10397
- </span>
11195
+ />
10398
11196
  </div>
10399
11197
  </Col>
10400
11198
  </CapColumn>
10401
11199
  <CapColumn
10402
11200
  key=".1"
10403
- span={21}
11201
+ span={23}
10404
11202
  >
10405
11203
  <Col
10406
11204
  className="cap-column-v2"
10407
- span={21}
11205
+ span={23}
10408
11206
  >
10409
11207
  <div
10410
- className="ant-col ant-col-21 cap-column-v2"
11208
+ className="ant-col ant-col-23 cap-column-v2"
10411
11209
  >
10412
- <FormattedMessage
10413
- defaultMessage="Download {link} file."
10414
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
10415
- key=".0"
10416
- values={
10417
- Object {
10418
- "link": <a
10419
- className="download-sample-link"
10420
- onClick={[Function]}
10421
- >
10422
- Sample CSV
10423
- </a>,
10424
- }
10425
- }
10426
- >
10427
- <span>
10428
- Download
10429
- <a
10430
- className="download-sample-link"
10431
- onClick={[Function]}
10432
- >
10433
- Sample CSV
10434
- </a>
10435
- file.
10436
- </span>
10437
- </FormattedMessage>
11210
+ Only templates in the Approved/ Registered/ Active state will be uploaded.
10438
11211
  </div>
10439
11212
  </Col>
10440
11213
  </CapColumn>
@@ -10443,8 +11216,7 @@ TC",
10443
11216
  </CapRow>
10444
11217
  </InstructionComp>
10445
11218
  <InstructionComp
10446
- message="Upload a file of <= 500 rows."
10447
- number={2}
11219
+ message="Existing templates with the same template ids will be overwritten."
10448
11220
  >
10449
11221
  <CapRow
10450
11222
  className="instruction"
@@ -10458,36 +11230,34 @@ TC",
10458
11230
  >
10459
11231
  <CapColumn
10460
11232
  key=".0"
10461
- span={3}
11233
+ span={1}
10462
11234
  >
10463
11235
  <Col
10464
11236
  className="cap-column-v2"
10465
- span={3}
11237
+ span={1}
10466
11238
  >
10467
11239
  <div
10468
- className="ant-col ant-col-3 cap-column-v2"
11240
+ className="ant-col ant-col-1 cap-column-v2"
10469
11241
  >
10470
11242
  <span
10471
11243
  className="instruction-num"
10472
11244
  key=".0"
10473
- >
10474
- 2
10475
- </span>
11245
+ />
10476
11246
  </div>
10477
11247
  </Col>
10478
11248
  </CapColumn>
10479
11249
  <CapColumn
10480
11250
  key=".1"
10481
- span={21}
11251
+ span={23}
10482
11252
  >
10483
11253
  <Col
10484
11254
  className="cap-column-v2"
10485
- span={21}
11255
+ span={23}
10486
11256
  >
10487
11257
  <div
10488
- className="ant-col ant-col-21 cap-column-v2"
11258
+ className="ant-col ant-col-23 cap-column-v2"
10489
11259
  >
10490
- Upload a file of &lt;= 500 rows.
11260
+ Existing templates with the same template ids will be overwritten.
10491
11261
  </div>
10492
11262
  </Col>
10493
11263
  </CapColumn>
@@ -10496,8 +11266,7 @@ TC",
10496
11266
  </CapRow>
10497
11267
  </InstructionComp>
10498
11268
  <InstructionComp
10499
- message="Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message."
10500
- number={3}
11269
+ message="The template name needs to be unique. Any new template with a name matching the existing template name will not be created."
10501
11270
  >
10502
11271
  <CapRow
10503
11272
  className="instruction"
@@ -10511,36 +11280,34 @@ TC",
10511
11280
  >
10512
11281
  <CapColumn
10513
11282
  key=".0"
10514
- span={3}
11283
+ span={1}
10515
11284
  >
10516
11285
  <Col
10517
11286
  className="cap-column-v2"
10518
- span={3}
11287
+ span={1}
10519
11288
  >
10520
11289
  <div
10521
- className="ant-col ant-col-3 cap-column-v2"
11290
+ className="ant-col ant-col-1 cap-column-v2"
10522
11291
  >
10523
11292
  <span
10524
11293
  className="instruction-num"
10525
11294
  key=".0"
10526
- >
10527
- 3
10528
- </span>
11295
+ />
10529
11296
  </div>
10530
11297
  </Col>
10531
11298
  </CapColumn>
10532
11299
  <CapColumn
10533
11300
  key=".1"
10534
- span={21}
11301
+ span={23}
10535
11302
  >
10536
11303
  <Col
10537
11304
  className="cap-column-v2"
10538
- span={21}
11305
+ span={23}
10539
11306
  >
10540
11307
  <div
10541
- className="ant-col ant-col-21 cap-column-v2"
11308
+ className="ant-col ant-col-23 cap-column-v2"
10542
11309
  >
10543
- Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message.
11310
+ The template name needs to be unique. Any new template with a name matching the existing template name will not be created.
10544
11311
  </div>
10545
11312
  </Col>
10546
11313
  </CapColumn>
@@ -10549,8 +11316,7 @@ TC",
10549
11316
  </CapRow>
10550
11317
  </InstructionComp>
10551
11318
  <InstructionComp
10552
- message="Only the \\"Approved\\" and “Active” templates will be uploaded."
10553
- number={4}
11319
+ message="Whitespaces will be trimmed from both ends for all template cells."
10554
11320
  >
10555
11321
  <CapRow
10556
11322
  className="instruction"
@@ -10564,36 +11330,34 @@ TC",
10564
11330
  >
10565
11331
  <CapColumn
10566
11332
  key=".0"
10567
- span={3}
11333
+ span={1}
10568
11334
  >
10569
11335
  <Col
10570
11336
  className="cap-column-v2"
10571
- span={3}
11337
+ span={1}
10572
11338
  >
10573
11339
  <div
10574
- className="ant-col ant-col-3 cap-column-v2"
11340
+ className="ant-col ant-col-1 cap-column-v2"
10575
11341
  >
10576
11342
  <span
10577
11343
  className="instruction-num"
10578
11344
  key=".0"
10579
- >
10580
- 4
10581
- </span>
11345
+ />
10582
11346
  </div>
10583
11347
  </Col>
10584
11348
  </CapColumn>
10585
11349
  <CapColumn
10586
11350
  key=".1"
10587
- span={21}
11351
+ span={23}
10588
11352
  >
10589
11353
  <Col
10590
11354
  className="cap-column-v2"
10591
- span={21}
11355
+ span={23}
10592
11356
  >
10593
11357
  <div
10594
- className="ant-col ant-col-21 cap-column-v2"
11358
+ className="ant-col ant-col-23 cap-column-v2"
10595
11359
  >
10596
- Only the "Approved" and “Active” templates will be uploaded.
11360
+ Whitespaces will be trimmed from both ends for all template cells.
10597
11361
  </div>
10598
11362
  </Col>
10599
11363
  </CapColumn>
@@ -10602,8 +11366,7 @@ TC",
10602
11366
  </CapRow>
10603
11367
  </InstructionComp>
10604
11368
  <InstructionComp
10605
- message="Duplicate entries will be overwritten."
10606
- number={5}
11369
+ message="In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV."
10607
11370
  >
10608
11371
  <CapRow
10609
11372
  className="instruction"
@@ -10617,36 +11380,34 @@ TC",
10617
11380
  >
10618
11381
  <CapColumn
10619
11382
  key=".0"
10620
- span={3}
11383
+ span={1}
10621
11384
  >
10622
11385
  <Col
10623
11386
  className="cap-column-v2"
10624
- span={3}
11387
+ span={1}
10625
11388
  >
10626
11389
  <div
10627
- className="ant-col ant-col-3 cap-column-v2"
11390
+ className="ant-col ant-col-1 cap-column-v2"
10628
11391
  >
10629
11392
  <span
10630
11393
  className="instruction-num"
10631
11394
  key=".0"
10632
- >
10633
- 5
10634
- </span>
11395
+ />
10635
11396
  </div>
10636
11397
  </Col>
10637
11398
  </CapColumn>
10638
11399
  <CapColumn
10639
11400
  key=".1"
10640
- span={21}
11401
+ span={23}
10641
11402
  >
10642
11403
  <Col
10643
11404
  className="cap-column-v2"
10644
- span={21}
11405
+ span={23}
10645
11406
  >
10646
11407
  <div
10647
- className="ant-col ant-col-21 cap-column-v2"
11408
+ className="ant-col ant-col-23 cap-column-v2"
10648
11409
  >
10649
- Duplicate entries will be overwritten.
11410
+ In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV.
10650
11411
  </div>
10651
11412
  </Col>
10652
11413
  </CapColumn>
@@ -10654,6 +11415,13 @@ TC",
10654
11415
  </Row>
10655
11416
  </CapRow>
10656
11417
  </InstructionComp>
11418
+ <div
11419
+ style={
11420
+ Object {
11421
+ "marginBottom": "200px",
11422
+ }
11423
+ }
11424
+ />
10657
11425
  </div>
10658
11426
  </div>
10659
11427
  </Col>
@@ -12839,28 +13607,28 @@ TC",
12839
13607
  }
12840
13608
  >
12841
13609
  <CapRow
12842
- className="upload-type-group-create-container"
13610
+ className="trai-upload-type-group-create-container"
12843
13611
  span={24}
12844
13612
  >
12845
13613
  <Row
12846
- className="cap-row-v2 upload-type-group-create-container"
13614
+ className="cap-row-v2 trai-upload-type-group-create-container"
12847
13615
  gutter={0}
12848
13616
  span={24}
12849
13617
  >
12850
13618
  <div
12851
- className="ant-row cap-row-v2 upload-type-group-create-container"
13619
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
12852
13620
  span={24}
12853
13621
  >
12854
13622
  <CapColumn
12855
13623
  key=".0"
12856
- span={16}
13624
+ span={12}
12857
13625
  >
12858
13626
  <Col
12859
13627
  className="cap-column-v2"
12860
- span={16}
13628
+ span={12}
12861
13629
  >
12862
13630
  <div
12863
- className="ant-col ant-col-16 cap-column-v2"
13631
+ className="ant-col ant-col-12 cap-column-v2"
12864
13632
  >
12865
13633
  <CapHeading
12866
13634
  className="upload-file-title"
@@ -12875,16 +13643,16 @@ TC",
12875
13643
  </div>
12876
13644
  </CapHeading>
12877
13645
  <CapRow
12878
- className="upload-type-group-create-container"
13646
+ className="trai-upload-type-group-create-container"
12879
13647
  span={24}
12880
13648
  >
12881
13649
  <Row
12882
- className="cap-row-v2 upload-type-group-create-container"
13650
+ className="cap-row-v2 trai-upload-type-group-create-container"
12883
13651
  gutter={0}
12884
13652
  span={24}
12885
13653
  >
12886
13654
  <div
12887
- className="ant-row cap-row-v2 upload-type-group-create-container"
13655
+ className="ant-row cap-row-v2 trai-upload-type-group-create-container"
12888
13656
  span={24}
12889
13657
  >
12890
13658
  <CapDivider
@@ -12911,14 +13679,14 @@ TC",
12911
13679
  >
12912
13680
  <CapColumn
12913
13681
  key=".0"
12914
- span={13}
13682
+ span={10}
12915
13683
  >
12916
13684
  <Col
12917
13685
  className="cap-column-v2"
12918
- span={13}
13686
+ span={10}
12919
13687
  >
12920
13688
  <div
12921
- className="ant-col ant-col-13 cap-column-v2"
13689
+ className="ant-col ant-col-10 cap-column-v2"
12922
13690
  >
12923
13691
  <CapLabel__CapLabelInline
12924
13692
  key=".0"
@@ -12950,14 +13718,14 @@ TC",
12950
13718
  </CapColumn>
12951
13719
  <CapColumn
12952
13720
  className="validation-count-container"
12953
- span={3}
13721
+ span={4}
12954
13722
  >
12955
13723
  <Col
12956
13724
  className="cap-column-v2 validation-count-container"
12957
- span={3}
13725
+ span={4}
12958
13726
  >
12959
13727
  <div
12960
- className="ant-col ant-col-3 cap-column-v2 validation-count-container"
13728
+ className="ant-col ant-col-4 cap-column-v2 validation-count-container"
12961
13729
  >
12962
13730
  <CapLabel
12963
13731
  className="validation-count-label"
@@ -13030,14 +13798,14 @@ TC",
13030
13798
  </CapColumn>
13031
13799
  <CapColumn
13032
13800
  className="validation-count-container"
13033
- span={3}
13801
+ span={4}
13034
13802
  >
13035
13803
  <Col
13036
13804
  className="cap-column-v2 validation-count-container"
13037
- span={3}
13805
+ span={4}
13038
13806
  >
13039
13807
  <div
13040
- className="ant-col ant-col-3 cap-column-v2 validation-count-container"
13808
+ className="ant-col ant-col-4 cap-column-v2 validation-count-container"
13041
13809
  >
13042
13810
  <CapLabel
13043
13811
  className="validation-count-label"
@@ -13137,14 +13905,14 @@ TC",
13137
13905
  </Col>
13138
13906
  </CapColumn>
13139
13907
  <CapColumn
13140
- span={4}
13908
+ span={5}
13141
13909
  >
13142
13910
  <Col
13143
13911
  className="cap-column-v2"
13144
- span={4}
13912
+ span={5}
13145
13913
  >
13146
13914
  <div
13147
- className="ant-col ant-col-4 cap-column-v2"
13915
+ className="ant-col ant-col-5 cap-column-v2"
13148
13916
  >
13149
13917
  <a
13150
13918
  className="download-issues-csv-link"
@@ -13249,16 +14017,16 @@ TC",
13249
14017
  </Col>
13250
14018
  </CapColumn>
13251
14019
  <CapColumn
13252
- className="upload-instructions-container"
14020
+ className="trai-upload-instructions-container"
13253
14021
  key=".1"
13254
- span={8}
14022
+ span={12}
13255
14023
  >
13256
14024
  <Col
13257
- className="cap-column-v2 upload-instructions-container"
13258
- span={8}
14025
+ className="cap-column-v2 trai-upload-instructions-container"
14026
+ span={12}
13259
14027
  >
13260
14028
  <div
13261
- className="ant-col ant-col-8 cap-column-v2 upload-instructions-container"
14029
+ className="ant-col ant-col-12 cap-column-v2 trai-upload-instructions-container"
13262
14030
  >
13263
14031
  <CapHeading
13264
14032
  key=".0"
@@ -13275,11 +14043,61 @@ TC",
13275
14043
  className="upload-instruction-list"
13276
14044
  key=".1"
13277
14045
  >
14046
+ <InstructionComp
14047
+ message="It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly."
14048
+ >
14049
+ <CapRow
14050
+ className="instruction"
14051
+ >
14052
+ <Row
14053
+ className="cap-row-v2 instruction"
14054
+ gutter={0}
14055
+ >
14056
+ <div
14057
+ className="ant-row cap-row-v2 instruction"
14058
+ >
14059
+ <CapColumn
14060
+ key=".0"
14061
+ span={1}
14062
+ >
14063
+ <Col
14064
+ className="cap-column-v2"
14065
+ span={1}
14066
+ >
14067
+ <div
14068
+ className="ant-col ant-col-1 cap-column-v2"
14069
+ >
14070
+ <span
14071
+ className="instruction-num"
14072
+ key=".0"
14073
+ />
14074
+ </div>
14075
+ </Col>
14076
+ </CapColumn>
14077
+ <CapColumn
14078
+ key=".1"
14079
+ span={23}
14080
+ >
14081
+ <Col
14082
+ className="cap-column-v2"
14083
+ span={23}
14084
+ >
14085
+ <div
14086
+ className="ant-col ant-col-23 cap-column-v2"
14087
+ >
14088
+ It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly.
14089
+ </div>
14090
+ </Col>
14091
+ </CapColumn>
14092
+ </div>
14093
+ </Row>
14094
+ </CapRow>
14095
+ </InstructionComp>
13278
14096
  <InstructionComp
13279
14097
  message={
13280
14098
  <FormattedMessage
13281
- defaultMessage="Download {link} file."
13282
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
14099
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
14100
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
13283
14101
  values={
13284
14102
  Object {
13285
14103
  "link": <a
@@ -13292,7 +14110,6 @@ TC",
13292
14110
  }
13293
14111
  />
13294
14112
  }
13295
- number={1}
13296
14113
  >
13297
14114
  <CapRow
13298
14115
  className="instruction"
@@ -13306,38 +14123,36 @@ TC",
13306
14123
  >
13307
14124
  <CapColumn
13308
14125
  key=".0"
13309
- span={3}
14126
+ span={1}
13310
14127
  >
13311
14128
  <Col
13312
14129
  className="cap-column-v2"
13313
- span={3}
14130
+ span={1}
13314
14131
  >
13315
14132
  <div
13316
- className="ant-col ant-col-3 cap-column-v2"
14133
+ className="ant-col ant-col-1 cap-column-v2"
13317
14134
  >
13318
14135
  <span
13319
14136
  className="instruction-num"
13320
14137
  key=".0"
13321
- >
13322
- 1
13323
- </span>
14138
+ />
13324
14139
  </div>
13325
14140
  </Col>
13326
14141
  </CapColumn>
13327
14142
  <CapColumn
13328
14143
  key=".1"
13329
- span={21}
14144
+ span={23}
13330
14145
  >
13331
14146
  <Col
13332
14147
  className="cap-column-v2"
13333
- span={21}
14148
+ span={23}
13334
14149
  >
13335
14150
  <div
13336
- className="ant-col ant-col-21 cap-column-v2"
14151
+ className="ant-col ant-col-23 cap-column-v2"
13337
14152
  >
13338
14153
  <FormattedMessage
13339
- defaultMessage="Download {link} file."
13340
- id="app.v2containers.SmsTrai.Create.downloadInstruction"
14154
+ defaultMessage="Users can also download {link} file and populate data. Please ensure that datatype is not changed."
14155
+ id="app.v2containers.SmsTrai.Create.sampleFileInstruction"
13341
14156
  key=".0"
13342
14157
  values={
13343
14158
  Object {
@@ -13351,14 +14166,14 @@ TC",
13351
14166
  }
13352
14167
  >
13353
14168
  <span>
13354
- Download
14169
+ Users can also download
13355
14170
  <a
13356
14171
  className="download-sample-link"
13357
14172
  onClick={[Function]}
13358
14173
  >
13359
14174
  Sample CSV
13360
14175
  </a>
13361
- file.
14176
+ file and populate data. Please ensure that datatype is not changed.
13362
14177
  </span>
13363
14178
  </FormattedMessage>
13364
14179
  </div>
@@ -13369,8 +14184,7 @@ TC",
13369
14184
  </CapRow>
13370
14185
  </InstructionComp>
13371
14186
  <InstructionComp
13372
- message="Upload a file of <= 500 rows."
13373
- number={2}
14187
+ message="Maximum 500 rows are allowed in a single file."
13374
14188
  >
13375
14189
  <CapRow
13376
14190
  className="instruction"
@@ -13384,36 +14198,34 @@ TC",
13384
14198
  >
13385
14199
  <CapColumn
13386
14200
  key=".0"
13387
- span={3}
14201
+ span={1}
13388
14202
  >
13389
14203
  <Col
13390
14204
  className="cap-column-v2"
13391
- span={3}
14205
+ span={1}
13392
14206
  >
13393
14207
  <div
13394
- className="ant-col ant-col-3 cap-column-v2"
14208
+ className="ant-col ant-col-1 cap-column-v2"
13395
14209
  >
13396
14210
  <span
13397
14211
  className="instruction-num"
13398
14212
  key=".0"
13399
- >
13400
- 2
13401
- </span>
14213
+ />
13402
14214
  </div>
13403
14215
  </Col>
13404
14216
  </CapColumn>
13405
14217
  <CapColumn
13406
14218
  key=".1"
13407
- span={21}
14219
+ span={23}
13408
14220
  >
13409
14221
  <Col
13410
14222
  className="cap-column-v2"
13411
- span={21}
14223
+ span={23}
13412
14224
  >
13413
14225
  <div
13414
- className="ant-col ant-col-21 cap-column-v2"
14226
+ className="ant-col ant-col-23 cap-column-v2"
13415
14227
  >
13416
- Upload a file of &lt;= 500 rows.
14228
+ Maximum 500 rows are allowed in a single file.
13417
14229
  </div>
13418
14230
  </Col>
13419
14231
  </CapColumn>
@@ -13422,8 +14234,7 @@ TC",
13422
14234
  </CapRow>
13423
14235
  </InstructionComp>
13424
14236
  <InstructionComp
13425
- message="Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message."
13426
- number={3}
14237
+ message="Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message."
13427
14238
  >
13428
14239
  <CapRow
13429
14240
  className="instruction"
@@ -13437,36 +14248,34 @@ TC",
13437
14248
  >
13438
14249
  <CapColumn
13439
14250
  key=".0"
13440
- span={3}
14251
+ span={1}
13441
14252
  >
13442
14253
  <Col
13443
14254
  className="cap-column-v2"
13444
- span={3}
14255
+ span={1}
13445
14256
  >
13446
14257
  <div
13447
- className="ant-col ant-col-3 cap-column-v2"
14258
+ className="ant-col ant-col-1 cap-column-v2"
13448
14259
  >
13449
14260
  <span
13450
14261
  className="instruction-num"
13451
14262
  key=".0"
13452
- >
13453
- 3
13454
- </span>
14263
+ />
13455
14264
  </div>
13456
14265
  </Col>
13457
14266
  </CapColumn>
13458
14267
  <CapColumn
13459
14268
  key=".1"
13460
- span={21}
14269
+ span={23}
13461
14270
  >
13462
14271
  <Col
13463
14272
  className="cap-column-v2"
13464
- span={21}
14273
+ span={23}
13465
14274
  >
13466
14275
  <div
13467
- className="ant-col ant-col-21 cap-column-v2"
14276
+ className="ant-col ant-col-23 cap-column-v2"
13468
14277
  >
13469
- Please ensure that each template has the following mandatory fields: Template name,Template ID, Type, Sender ID, Approval status, Status, Template message.
14278
+ Please ensure that each template has the following mandatory fields: Template name, Template ID, Type, Sender ID, Approval status/Status, Template message.
13470
14279
  </div>
13471
14280
  </Col>
13472
14281
  </CapColumn>
@@ -13475,8 +14284,7 @@ TC",
13475
14284
  </CapRow>
13476
14285
  </InstructionComp>
13477
14286
  <InstructionComp
13478
- message="Only the \\"Approved\\" and Active templates will be uploaded."
13479
- number={4}
14287
+ message="Only templates in the Approved/ Registered/ Active state will be uploaded."
13480
14288
  >
13481
14289
  <CapRow
13482
14290
  className="instruction"
@@ -13490,36 +14298,34 @@ TC",
13490
14298
  >
13491
14299
  <CapColumn
13492
14300
  key=".0"
13493
- span={3}
14301
+ span={1}
13494
14302
  >
13495
14303
  <Col
13496
14304
  className="cap-column-v2"
13497
- span={3}
14305
+ span={1}
13498
14306
  >
13499
14307
  <div
13500
- className="ant-col ant-col-3 cap-column-v2"
14308
+ className="ant-col ant-col-1 cap-column-v2"
13501
14309
  >
13502
14310
  <span
13503
14311
  className="instruction-num"
13504
14312
  key=".0"
13505
- >
13506
- 4
13507
- </span>
14313
+ />
13508
14314
  </div>
13509
14315
  </Col>
13510
14316
  </CapColumn>
13511
14317
  <CapColumn
13512
14318
  key=".1"
13513
- span={21}
14319
+ span={23}
13514
14320
  >
13515
14321
  <Col
13516
14322
  className="cap-column-v2"
13517
- span={21}
14323
+ span={23}
13518
14324
  >
13519
14325
  <div
13520
- className="ant-col ant-col-21 cap-column-v2"
14326
+ className="ant-col ant-col-23 cap-column-v2"
13521
14327
  >
13522
- Only the "Approved" and Active templates will be uploaded.
14328
+ Only templates in the Approved/ Registered/ Active state will be uploaded.
13523
14329
  </div>
13524
14330
  </Col>
13525
14331
  </CapColumn>
@@ -13528,8 +14334,7 @@ TC",
13528
14334
  </CapRow>
13529
14335
  </InstructionComp>
13530
14336
  <InstructionComp
13531
- message="Duplicate entries will be overwritten."
13532
- number={5}
14337
+ message="Existing templates with the same template ids will be overwritten."
13533
14338
  >
13534
14339
  <CapRow
13535
14340
  className="instruction"
@@ -13543,36 +14348,184 @@ TC",
13543
14348
  >
13544
14349
  <CapColumn
13545
14350
  key=".0"
13546
- span={3}
14351
+ span={1}
13547
14352
  >
13548
14353
  <Col
13549
14354
  className="cap-column-v2"
13550
- span={3}
14355
+ span={1}
13551
14356
  >
13552
14357
  <div
13553
- className="ant-col ant-col-3 cap-column-v2"
14358
+ className="ant-col ant-col-1 cap-column-v2"
13554
14359
  >
13555
14360
  <span
13556
14361
  className="instruction-num"
13557
14362
  key=".0"
13558
- >
13559
- 5
13560
- </span>
14363
+ />
14364
+ </div>
14365
+ </Col>
14366
+ </CapColumn>
14367
+ <CapColumn
14368
+ key=".1"
14369
+ span={23}
14370
+ >
14371
+ <Col
14372
+ className="cap-column-v2"
14373
+ span={23}
14374
+ >
14375
+ <div
14376
+ className="ant-col ant-col-23 cap-column-v2"
14377
+ >
14378
+ Existing templates with the same template ids will be overwritten.
14379
+ </div>
14380
+ </Col>
14381
+ </CapColumn>
14382
+ </div>
14383
+ </Row>
14384
+ </CapRow>
14385
+ </InstructionComp>
14386
+ <InstructionComp
14387
+ message="The template name needs to be unique. Any new template with a name matching the existing template name will not be created."
14388
+ >
14389
+ <CapRow
14390
+ className="instruction"
14391
+ >
14392
+ <Row
14393
+ className="cap-row-v2 instruction"
14394
+ gutter={0}
14395
+ >
14396
+ <div
14397
+ className="ant-row cap-row-v2 instruction"
14398
+ >
14399
+ <CapColumn
14400
+ key=".0"
14401
+ span={1}
14402
+ >
14403
+ <Col
14404
+ className="cap-column-v2"
14405
+ span={1}
14406
+ >
14407
+ <div
14408
+ className="ant-col ant-col-1 cap-column-v2"
14409
+ >
14410
+ <span
14411
+ className="instruction-num"
14412
+ key=".0"
14413
+ />
14414
+ </div>
14415
+ </Col>
14416
+ </CapColumn>
14417
+ <CapColumn
14418
+ key=".1"
14419
+ span={23}
14420
+ >
14421
+ <Col
14422
+ className="cap-column-v2"
14423
+ span={23}
14424
+ >
14425
+ <div
14426
+ className="ant-col ant-col-23 cap-column-v2"
14427
+ >
14428
+ The template name needs to be unique. Any new template with a name matching the existing template name will not be created.
14429
+ </div>
14430
+ </Col>
14431
+ </CapColumn>
14432
+ </div>
14433
+ </Row>
14434
+ </CapRow>
14435
+ </InstructionComp>
14436
+ <InstructionComp
14437
+ message="Whitespaces will be trimmed from both ends for all template cells."
14438
+ >
14439
+ <CapRow
14440
+ className="instruction"
14441
+ >
14442
+ <Row
14443
+ className="cap-row-v2 instruction"
14444
+ gutter={0}
14445
+ >
14446
+ <div
14447
+ className="ant-row cap-row-v2 instruction"
14448
+ >
14449
+ <CapColumn
14450
+ key=".0"
14451
+ span={1}
14452
+ >
14453
+ <Col
14454
+ className="cap-column-v2"
14455
+ span={1}
14456
+ >
14457
+ <div
14458
+ className="ant-col ant-col-1 cap-column-v2"
14459
+ >
14460
+ <span
14461
+ className="instruction-num"
14462
+ key=".0"
14463
+ />
14464
+ </div>
14465
+ </Col>
14466
+ </CapColumn>
14467
+ <CapColumn
14468
+ key=".1"
14469
+ span={23}
14470
+ >
14471
+ <Col
14472
+ className="cap-column-v2"
14473
+ span={23}
14474
+ >
14475
+ <div
14476
+ className="ant-col ant-col-23 cap-column-v2"
14477
+ >
14478
+ Whitespaces will be trimmed from both ends for all template cells.
14479
+ </div>
14480
+ </Col>
14481
+ </CapColumn>
14482
+ </div>
14483
+ </Row>
14484
+ </CapRow>
14485
+ </InstructionComp>
14486
+ <InstructionComp
14487
+ message="In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV."
14488
+ >
14489
+ <CapRow
14490
+ className="instruction"
14491
+ >
14492
+ <Row
14493
+ className="cap-row-v2 instruction"
14494
+ gutter={0}
14495
+ >
14496
+ <div
14497
+ className="ant-row cap-row-v2 instruction"
14498
+ >
14499
+ <CapColumn
14500
+ key=".0"
14501
+ span={1}
14502
+ >
14503
+ <Col
14504
+ className="cap-column-v2"
14505
+ span={1}
14506
+ >
14507
+ <div
14508
+ className="ant-col ant-col-1 cap-column-v2"
14509
+ >
14510
+ <span
14511
+ className="instruction-num"
14512
+ key=".0"
14513
+ />
13561
14514
  </div>
13562
14515
  </Col>
13563
14516
  </CapColumn>
13564
14517
  <CapColumn
13565
14518
  key=".1"
13566
- span={21}
14519
+ span={23}
13567
14520
  >
13568
14521
  <Col
13569
14522
  className="cap-column-v2"
13570
- span={21}
14523
+ span={23}
13571
14524
  >
13572
14525
  <div
13573
- className="ant-col ant-col-21 cap-column-v2"
14526
+ className="ant-col ant-col-23 cap-column-v2"
13574
14527
  >
13575
- Duplicate entries will be overwritten.
14528
+ In case the uploaded file with multiple templates is showing errors, but any campaign needs to be sent urgently, try uploading a single template (as required in the campaign) in Sample CSV.
13576
14529
  </div>
13577
14530
  </Col>
13578
14531
  </CapColumn>
@@ -13580,6 +14533,13 @@ TC",
13580
14533
  </Row>
13581
14534
  </CapRow>
13582
14535
  </InstructionComp>
14536
+ <div
14537
+ style={
14538
+ Object {
14539
+ "marginBottom": "200px",
14540
+ }
14541
+ }
14542
+ />
13583
14543
  </div>
13584
14544
  </div>
13585
14545
  </Col>