[otrs-cvs] ImportExport/Kernel/Output/HTML/Standard AdminImportExport.dtl, 1.28, 1.28.4.1 AAAImportExport.dtl, 1.2, 1.2.4.1

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ImportExport/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv3998/Kernel/Output/HTML/Standard

Modified Files:
      Tag: rel-3_1
	AdminImportExport.dtl AAAImportExport.dtl 
Log Message:
Enhanced interface to show a summary after importing.

Author: ub

Index: AdminImportExport.dtl
===================================================================
RCS file: /home/cvs/ImportExport/Kernel/Output/HTML/Standard/AdminImportExport.dtl,v
retrieving revision 1.28
retrieving revision 1.28.4.1
diff -2 -u -d -r1.28 -r1.28.4.1
--- AdminImportExport.dtl	25 Jan 2011 17:07:16 -0000	1.28
+++ AdminImportExport.dtl	30 Nov 2012 13:27:44 -0000	1.28.4.1
@@ -1,5 +1,5 @@
 # --
 # AdminImportExport.dtl - provides HTML form for AdminImportExport
-# Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -500,2 +500,56 @@
 
 <!-- dtl:block:Overview -->
+
+<!-- dtl:block:ImportResult -->
+<div class="MainBox AriaRoleMain">
+    <div class="W50pc SpacingTopLarge SpacingBottomLarge CenterBox">
+        <div class="WidgetSimple">
+            <div class="Header">
+                <h2>$Text{"Import summary for"} $QData{"Object"}</h2>
+            </div>
+            <div class="Content">
+
+                <form action="$Env{"CGIHandle"}" method="post" enctype="multipart/form-data">
+                    <input type="hidden" name="Action" value="$Env{"Action"}"/>
+                    <input type="hidden" name="Subaction" value="Overview"/>
+
+                    <fieldset class="TableLike">
+                        <label>$Text{"Records"}:</label>
+                        <div class="Value">$QData{"Counter"}</div>
+                        <div class="Clear"></div>
+
+                        <label>$Text{"Success"}:</label>
+                        <div class="Value">
+                            $QData{"Success"}
+<!-- dtl:block:ImportResultReturnCode -->
+                            ($Text{"$Data{"ReturnCodeName"}"}: $QData{"ReturnCodeCount"})
+<!-- dtl:block:ImportResultReturnCode -->
+                        </div>
+                        <div class="Clear"></div>
+
+                        <label>$Text{"Failed"}:</label>
+                        <div class="Value">$QData{"Failed"}</div>
+                        <div class="Clear"></div>
+
+<!-- dtl:block:ImportResultDuplicateNames -->
+                        <label>$Text{"Duplicate names"}:</label>
+                        <div class="Value">$QData{"DuplicateNames"}</div>
+                        <div class="Clear"></div>
+<!-- dtl:block:ImportResultDuplicateNames -->
+
+<!-- dtl:block:ImportResultLastLineNumber -->
+                        <label>$Text{"Last processed line number of import file"}:</label>
+                        <div class="Value">$QData{"LastLineNumber"}</div>
+                        <div class="Clear"></div>
+<!-- dtl:block:ImportResultLastLineNumber -->
+                    </fieldset>
+
+                    <p class="Center SpacingTopSmall">
+                        <button type="submit" name="Ok" value="$Text{"Ok"}">$Text{"Ok"}</button>
+                    </p>
+                </form>
+            </div>
+        </div>
+    </div>
+</div>
+<!-- dtl:block:ImportResult -->

Author: ub

Index: AAAImportExport.dtl
===================================================================
RCS file: /home/cvs/ImportExport/Kernel/Output/HTML/Standard/AAAImportExport.dtl,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -2 -u -d -r1.2 -r1.2.4.1
--- AAAImportExport.dtl	5 May 2011 09:35:08 -0000	1.2
+++ AAAImportExport.dtl	30 Nov 2012 13:27:44 -0000	1.2.4.1
@@ -1,5 +1,5 @@
 # --
 # AAAImportExport.dtl - $Text variable file
-# Copyright (C) 2001-2011 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -20,2 +20,7 @@
 $Text{"Tabulator (TAB)"}
 $Text{"Include Column Headers"}
+$Text{"Import summary for"}
+$Text{"Imported records"}
+$Text{"Exported records"}
+$Text{"Records"}
+$Text{"Skipped"}
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.