<commit_before><?xml version='1.0' encoding='UTF-8'?>
<?python
from mint.helperfuncs import formatProductVersion, truncateForDisplay
?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://purl.org/kid/ns#"
      py:extends="'layout.kid', 'packagecreator.kid', 'wizard.kid'">
<!--
    Copyright (c) 2005-2008 rPath, Inc.
    All Rights Reserved
-->
    <head>
        <title>${formatTitle('Package Archive: %s' % project.getNameForDisplay())}</title>
    </head>
    <body>
        <div class="fullpage">
            <img class="pagetopleft" src="${cfg.staticPath}/apps/mint/images/innerpage_topleft.png" alt="" />
            <img class="pagetopright" src="${cfg.staticPath}/apps/mint/images/innerpage_topright.png" alt="" />
            
            <div id="left" class="side">
                ${wizard_navigation()}
            </div>
            <div id="right" class="side">
                ${resourcePane()}
            </div>
            
            <div id="fullpage-middle">
                
                ${productVersionMenu(readOnly=True)}
                <h1>${project.getNameForDisplay(maxWordLen = 50)}</h1>
                <div class="page-title">Appliance Creator</div>
                
                <p py:if="message" class="message" py:content="message"/>
                <script type="text/javascript" src="${cfg.staticPath}apps/mint/javascript/whizzyupload.js?v=${cacheFakeoutVersion}" />
                ${createPackage(uploadDirectoryHandle, sessionHandle, name, 'If you have an archive containing files you would like to add to your appliance, you can upload it and have its contents packaged for you. Otherwise, click the "No archive to package" link.')}
                <div>
                    <a href="selectPackages">No archive to package</a>
                </div>
            </div>
            <br class="clear"/>
            <img class="pagebottomleft" src="${cfg.staticPath}/apps/mint/images/innerpage_bottomleft.png" alt="" />
            <img class="pagebottomright" src="${cfg.staticPath}/apps/mint/images/innerpage_bottomright.png" alt="" />
            <div class="bottom"/>
        </div>
    </body>
</html><commit_msg>RBL-4103: "No archive to package" link shouldn't go to package selection page<commit_after><?xml version='1.0' encoding='UTF-8'?>
<?python
from mint.helperfuncs import formatProductVersion, truncateForDisplay
?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://purl.org/kid/ns#"
      py:extends="'layout.kid', 'packagecreator.kid', 'wizard.kid'">
<!--
    Copyright (c) 2005-2008 rPath, Inc.
    All Rights Reserved
-->
    <head>
        <title>${formatTitle('Package Archive: %s' % project.getNameForDisplay())}</title>
    </head>
    <body>
        <div class="fullpage">
            <img class="pagetopleft" src="${cfg.staticPath}/apps/mint/images/innerpage_topleft.png" alt="" />
            <img class="pagetopright" src="${cfg.staticPath}/apps/mint/images/innerpage_topright.png" alt="" />
            
            <div id="left" class="side">
                ${wizard_navigation()}
            </div>
            <div id="right" class="side">
                ${resourcePane()}
            </div>
            
            <div id="fullpage-middle">
                
                ${productVersionMenu(readOnly=True)}
                <h1>${project.getNameForDisplay(maxWordLen = 50)}</h1>
                <div class="page-title">Appliance Creator</div>
                
                <p py:if="message" class="message" py:content="message"/>
                <script type="text/javascript" src="${cfg.staticPath}apps/mint/javascript/whizzyupload.js?v=${cacheFakeoutVersion}" />
                ${createPackage(uploadDirectoryHandle, sessionHandle, name, 'If you have an archive containing files you would like to add to your appliance, you can upload it and have its contents packaged for you. Otherwise, click the "No archive to package" link.')}
                <div>
                    <a href="editApplianceGroup">No archive to package</a>
                </div>
            </div>
            <br class="clear"/>
            <img class="pagebottomleft" src="${cfg.staticPath}/apps/mint/images/innerpage_bottomleft.png" alt="" />
            <img class="pagebottomright" src="${cfg.staticPath}/apps/mint/images/innerpage_bottomright.png" alt="" />
            <div class="bottom"/>
        </div>
    </body>
</html>
{'fraction_non_alphanumeric': 0.154627539503386, 'fraction_numerical': 0.009932279909706547, 'mean_word_length': 2.339110776186888, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 2, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4426627', 'n_tokens_mistral': 1328, 'n_tokens_neox': 1257, 'n_words': 260}