[FEATURE] Show upload form for extensions in Get Extensions section 39/23639/3
authorIngo Pfennigstorf <i.pfennigstorf@gmail.com>
Thu, 5 Sep 2013 13:36:22 +0000 (15:36 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Mon, 9 Sep 2013 14:41:25 +0000 (16:41 +0200)
This patch adds the upload form to the "Get Extensions" section in the
ExtensionManager.

Change-Id: Id8e698ba0d1c2cc1dddec61bba902d4913e1b01c
Resolves: #51776
Releases: 6.2
Reviewed-on: https://review.typo3.org/23639
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/extensionmanager/Resources/Private/Partials/List/UploadForm.html [new file with mode: 0644]
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Ter.html

diff --git a/typo3/sysext/extensionmanager/Resources/Private/Partials/List/UploadForm.html b/typo3/sysext/extensionmanager/Resources/Private/Partials/List/UploadForm.html
new file mode 100644 (file)
index 0000000..f47114f
--- /dev/null
@@ -0,0 +1,4 @@
+<div class="uploadForm" style="display: none;">
+       <span class="spinner"></span>
+       <f:translate key="extensionList.loading"/>
+</div>
\ No newline at end of file
index d703c05..e1a02e4 100644 (file)
 <f:section name="Content">
        <f:flashMessages renderMode="div" />
 
-       <div class="uploadForm" style="display: none;">
-               <span class="spinner"></span>
-               <f:translate key="extensionList.loading"/>
-       </div>
+       <f:render partial="List/UploadForm" />
 
        <div class="headerRow ui-helper-clearfix">
                <div class="typo3-extensionmanager-headerRowLeft">
index 21af2c0..0eca1b6 100644 (file)
@@ -3,6 +3,7 @@
 <f:layout name="main"/>
 
 <f:section name="docheader-buttons">
+       <f:be.buttons.icon uri="{f:uri.action(action:'form',controller:'UploadExtensionFile')}" icon="actions-edit-upload" title="{f:translate(key:'extensionList.uploadExtension')}"/>
 </f:section>
 
 <f:section name="module-headline">
@@ -10,6 +11,9 @@
 </f:section>
 
 <f:section name="Content">
+
+       <f:render partial="List/UploadForm" />
+
        <div class="headerRow ui-helper-clearfix">
                <div class="typo3-extensionmanager-headerRowLeft">
                        <f:form class="typo3-extensionmanager-searchTerForm" action="ter">