<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<h1>Upgrade</h1>

<div class="card-container">
    <div class="card card-size-fixed-small {f:if(condition:'{composerMode}', then: 'card-disabled')}">
        <f:render partial="Card/Header" arguments="{ title: 'Update TYPO3 Core', subtitle: 'Core Upgrade', icon: 'EXT:install/Resources/Public/Icons/modules/install-update.svg'}"/>
        <div class="card-body">
            <p class="card-text">Update your TYPO3 installation (support for symbolic links required).</p>
        </div>
        <f:if condition="{composerMode}">
            <f:then>
                <div class="card-footer text-body-secondary">
                    This function is not available as your installation is in composer mode. Please refer to the
                    <a href="https://docs.typo3.org/upgrade" target="_blank" rel="noreferrer">TYPO3 upgrade guide</a> for more information on how to upgrade your instance.
                </div>
            </f:then>
            <f:else>
                <div class="card-footer">
                    <button type="button" class="btn btn-default" data-import="@typo3/install/module/upgrade/core-update.js">Update Core</button>
                </div>
            </f:else>
        </f:if>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Upgrade Wizard', subtitle: 'Core Upgrade', icon: 'EXT:install/Resources/Public/Icons/modules/install-wizards.svg'}" />
        <div class="card-body">
            <p class="card-text">Finalises the upgrade process when moving to a major release.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-import="@typo3/install/module/upgrade/upgrade-wizards.js">Run Upgrade Wizard</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'View Upgrade Documentation', subtitle: 'Core Upgrade', icon: 'EXT:install/Resources/Public/Icons/modules/install-documentation.svg'}" />
        <div class="card-body">
            <p class="card-text">View and search for important changes that have been made for every major and minor release of TYPO3.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-import="@typo3/install/module/upgrade/upgrade-docs.js">View Upgrade Documentation</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Check TCA in ext_tables.php', subtitle: 'TCA', icon: 'EXT:install/Resources/Public/Icons/modules/install-check-extables.svg'}" />
        <div class="card-body">
            <p class="card-text">Identify any extensions that are modifying the Table Control Array (TCA) in ext_tables.php. Changes made to the TCA can result in performance drawbacks.
            </p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-import="@typo3/install/module/upgrade/tca-ext-tables-check.js">Check TCA</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Check for Broken Extensions', subtitle: 'Extensions', icon: 'EXT:install/Resources/Public/Icons/modules/install-check-brokenextension.svg'}" />
        <div class="card-body">
            <p class="card-text">Checks the compatibility of all active extensions against the current (installed) version of TYPO3.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-modal-size="small" data-import="@typo3/install/module/upgrade/extension-compat-tester.js">Check Extension Compatibility</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Check TCA Migrations', subtitle: 'TCA', icon: 'EXT:install/Resources/Public/Icons/modules/install-check-tca.svg'}" />
        <div class="card-body">
            <p class="card-text">Identifies any third-party extensions that contain an outdated TCA configuration which should be adapted for the current (installed) version of TYPO3.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-import="@typo3/install/module/upgrade/tca-migrations-check.js">Check TCA Migrations</button>
        </div>
    </div>
    <div class="card card-size-fixed-small {f:if(condition:'!{hasExtensions}', then: 'card-disabled')}">
        <f:render partial="Card/Header" arguments="{ title: 'Scan Extension Files', subtitle: 'Extensions', icon: 'EXT:install/Resources/Public/Icons/modules/install-scan-extensions.svg'}" />
        <div class="card-body">
            <p class="card-text">Scan extensions for usage of deprecated or outdated TYPO3 API calls.</p>
        </div>
        <f:if condition="{hasExtensions}">
            <f:then>
                <div class="card-footer">
                    <button type="button" class="btn btn-default" data-import="@typo3/install/module/upgrade/extension-scanner.js">Scan Extension Files</button>
                </div>
            </f:then>
            <f:else>
                <div class="card-footer text-body-secondary">
                    You can't use this feature, because no extension folders were found.
                </div>
            </f:else>
        </f:if>
    </div>
</div>

</html>
