<commit_before><?xml version='1.0' encoding='UTF-8'?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://purl.org/kid/ns#"
      py:extends="'layout.kid'">
<!--
    Copyright (c) 2005-2008 rPath, Inc.
    All Rights Reserved
-->
    <head>
        <title>${formatTitle('Edit Account Information: %s'%auth.fullName)}</title>
        <?python
            from mint import data
            from mint.web.templatesupport import projectText
        ?>
    </head>
    <body>
        <div id="layout">
            <div py:if="defaultedData" class='statusError' style='margin-bottom: 1em;'>
                Please review your preferences and address the highlighted selections below.
            </div>
            <div id="right" class="side">
                ${resourcePane()}
		${builderPane()}
                <div style="width: 180px;">
                    <h3>Close My Account</h3>
                    <p>If you wish to cancel your account, click the &quot;Close My Account&quot; button below.
                       If you cancel your account, you will be removed from any ${projectText().lower()} for which you are
                       a member or owner.
                    </p>
                    <p>
                        <form method="get" action="cancelAccount">
                            <button class="img" id="userCancel" type="submit"><img src="${cfg.staticPath}/apps/mint/images/cancel_account_button.png" alt="Cancel Account" /></button>
                        </form>
                    </p>
                </div>
            </div>

            <div id="spanleft">
                <form method="post" action="editUserSettings">
                    <h2>Edit Account Information</h2>
                    <table class="mainformhorizontal">
                        <tr>
                            <th>Username:</th>
                            <td>${auth.username}</td>
                        </tr>
                        <tr>
                            <th>Full Name:</th>
                            <td><input type="text" name="fullName" value="${auth.fullName}" /></td>
                        </tr>                                                         <tr>
                            <th>Email Address:</th>
                            <td>
                                <input type="text" name="email" value="${auth.email}" />
                                <div class="help">This email address will not be displayed on the ${cfg.companyName} website.</div>
                            </td>
                        </tr>
                        <tr>
                            <th>Contact Information:</th>
                            <td>
                                <textarea rows="4" type="text" name="displayEmail">${auth.displayEmail}</textarea>
                                <div class="help">
                                    Contact information provided here will be displayed
                                    on your ${cfg.companyName} user information page.
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <th>About:</th>
                            <td>
                                <textarea rows="8" name="blurb">${auth.blurb}</textarea><br/>
                                <div class="help">
                                    Please enter any relevant information about yourself here;
                                    a short biography, IRC nicknames, or anything else you would
                                    like to share with the ${cfg.productName} community.
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <p><strong>Change Password</strong><br />
                                    Please leave these fields blank if you do not want to change your password:
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <th>New Password:</th>
                            <td><input type="password" name="password1" value="" /></td>
                        </tr>
                        <tr>
                            <th>Confirm Password:</th>
                            <td><input type="password" name="password2" value="" /></td>
                        </tr>
                        
                        <tr>
                            <td colspan="2">
                                <p>
                                    <strong>Amazon EC2 Settings:</strong>
                                    <ul>
                                        <li>
                                            <a href="http://${SITE}cloudSettings">Edit Settings</a>
                                        </li>
                                        <li>
                                            <a href="http://${SITE}removeCloudSettings">Remove Settings</a>
                                        </li>
                                    </ul>
                                </p>
                            </td>
                        </tr>
                        
                        <tr>
                            <td colspan="2">
                                <p><strong>Package Signing Keys:</strong>
                                <a href="http://${SITE}uploadKey">Upload a package signing key</a></p>
                            </td>
                        </tr>
                    </table>
                    <h3>Preferences</h3>
                    <table class="mainformhorizontal">
                        <tr py:for="key, (dType, default, prompt, errmsg, helpText, password) in sorted(user.getDataTemplate().iteritems())" class="${key in defaultedData and 'attention' or None}">
                            <div py:strip="True" py:if="dType == data.RDT_BOOL">
                                <td colspan="2"><input type="checkbox" class='check' name="${key}" py:attrs="{'checked' : dataDict.get(key, default) and 'checked' or None}"/> ${prompt}</td>
                            </div>
                            <div py:strip="True" py:if="dType == data.RDT_INT">
                                <td>${prompt}</td><td><input type="text" name="$key" value="${dataDict.get(key, default)}"/></td>
                            </div>
                        </tr>
                    </table><commit_msg>Remove EC2 settings links on userSettings page for rBO push (RBL-3047)<commit_after><?xml version='1.0' encoding='UTF-8'?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://purl.org/kid/ns#"
      py:extends="'layout.kid'">
<!--
    Copyright (c) 2005-2008 rPath, Inc.
    All Rights Reserved
-->
    <head>
        <title>${formatTitle('Edit Account Information: %s'%auth.fullName)}</title>
        <?python
            from mint import data
            from mint.web.templatesupport import projectText
        ?>
    </head>
    <body>
        <div id="layout">
            <div py:if="defaultedData" class='statusError' style='margin-bottom: 1em;'>
                Please review your preferences and address the highlighted selections below.
            </div>
            <div id="right" class="side">
                ${resourcePane()}
		${builderPane()}
                <div style="width: 180px;">
                    <h3>Close My Account</h3>
                    <p>If you wish to cancel your account, click the &quot;Close My Account&quot; button below.
                       If you cancel your account, you will be removed from any ${projectText().lower()} for which you are
                       a member or owner.
                    </p>
                    <p>
                        <form method="get" action="cancelAccount">
                            <button class="img" id="userCancel" type="submit"><img src="${cfg.staticPath}/apps/mint/images/cancel_account_button.png" alt="Cancel Account" /></button>
                        </form>
                    </p>
                </div>
            </div>

            <div id="spanleft">
                <form method="post" action="editUserSettings">
                    <h2>Edit Account Information</h2>
                    <table class="mainformhorizontal">
                        <tr>
                            <th>Username:</th>
                            <td>${auth.username}</td>
                        </tr>
                        <tr>
                            <th>Full Name:</th>
                            <td><input type="text" name="fullName" value="${auth.fullName}" /></td>
                        </tr>                                                         <tr>
                            <th>Email Address:</th>
                            <td>
                                <input type="text" name="email" value="${auth.email}" />
                                <div class="help">This email address will not be displayed on the ${cfg.companyName} website.</div>
                            </td>
                        </tr>
                        <tr>
                            <th>Contact Information:</th>
                            <td>
                                <textarea rows="4" type="text" name="displayEmail">${auth.displayEmail}</textarea>
                                <div class="help">
                                    Contact information provided here will be displayed
                                    on your ${cfg.companyName} user information page.
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <th>About:</th>
                            <td>
                                <textarea rows="8" name="blurb">${auth.blurb}</textarea><br/>
                                <div class="help">
                                    Please enter any relevant information about yourself here;
                                    a short biography, IRC nicknames, or anything else you would
                                    like to share with the ${cfg.productName} community.
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <p><strong>Change Password</strong><br />
                                    Please leave these fields blank if you do not want to change your password:
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <th>New Password:</th>
                            <td><input type="password" name="password1" value="" /></td>
                        </tr>
                        <tr>
                            <th>Confirm Password:</th>
                            <td><input type="password" name="password2" value="" /></td>
                        </tr>
                        
                        <!--!  Removed for now RBL-3047
                        <tr>
                            <td colspan="2">
                                <p>
                                    <strong>Amazon EC2 Settings:</strong>
                                    <ul>
                                        <li>
                                            <a href="http://${SITE}cloudSettings">Edit Settings</a>
                                        </li>
                                        <li>
                                            <a href="http://${SITE}removeCloudSettings">Remove Settings</a>
                                        </li>
                                    </ul>
                                </p>
                            </td>
                        </tr>-->
                        
                        <tr>
                            <td colspan="2">
                                <p><strong>Package Signing Keys:</strong>
                                <a href="http://${SITE}uploadKey">Upload a package signing key</a></p>
                            </td>
                        </tr>
                    </table>
                    <h3>Preferences</h3>
                    <table class="mainformhorizontal">
                        <tr py:for="key, (dType, default, prompt, errmsg, helpText, password) in sorted(user.getDataTemplate().iteritems())" class="${key in defaultedData and 'attention' or None}">
                            <div py:strip="True" py:if="dType == data.RDT_BOOL">
                                <td colspan="2"><input type="checkbox" class='check' name="${key}" py:attrs="{'checked' : dataDict.get(key, default) and 'checked' or None}"/> ${prompt}</td>
                            </div>
                            <div py:strip="True" py:if="dType == data.RDT_INT">
                                <td>${prompt}</td><td><input type="text" name="$key" value="${dataDict.get(key, default)}"/></td>
                            </div>
                        </tr>
                    </table>
{'fraction_non_alphanumeric': 0.11726726726726727, 'fraction_numerical': 0.005930930930930931, 'mean_word_length': 0.8876293042369279, 'pattern_counts': {'":': 0, '<': 294, '<?xml version=': 2, '>': 294, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 46, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4721061', 'n_tokens_mistral': 3073, 'n_tokens_neox': 2850, 'n_words': 703}