[TASK] Enable EM offline mode when using composer
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Templates / List / Index.html
index dc81370..c1a1ed4 100644 (file)
@@ -4,11 +4,15 @@
 <f:layout name="main" />
 
 <f:section name="docheader-buttons">
-       <div id="upload-button-wrap">
-               <a href="{f:uri.action(action:'form',controller:'UploadExtensionFile')}" title="{f:translate(key:'extensionList.uploadExtension')}">
-                       <core:icon identifier="actions-edit-upload" />
-               </a>
-       </div>
+       <f:if condition="{settings.composerMode} == 0">
+               <f:then>
+                       <div id="upload-button-wrap">
+                               <a href="{f:uri.action(action:'form',controller:'UploadExtensionFile')}" title="{f:translate(key:'extensionList.uploadExtension')}">
+                                       <core:icon identifier="actions-edit-upload" />
+                               </a>
+                       </div>
+               </f:then>
+       </f:if>
 </f:section>
 
 <f:section name="module-headline">