<commit_before><%inherit file="project/project_base.mako"/>
<%def name="title()">Contributors</%def>

<div class="row">
    <div class="col-md-12">

        <h2>Contributors</h2>
            <div id="manageContributors" class="scripted">
                    <table id="manageContributorsTable" class="table">
                        <thead>
                            <tr>
                            <th class="col-sm-6">Name</th>
                            <th class="col-sm-5">
                                Permissions
                                <i class="icon-question-sign permission-info"
                                        data-toggle="popover"
                                        data-title="Permission Information"
                                        data-container="body"
                                        data-html="true"
                                    ></i>
                            </th>
                            <th class="col-sm-1"></th>
                            </tr>
                        </thead>
                        <tr data-bind="if: canEdit">
                            <td colspan="3">
                                <a href="#addContributors" data-toggle="modal">
                                    Click to add a contributor
                                </a>
                            </td>
                        </tr>
                        <tbody data-bind="sortable: {template: 'contribTpl',
                            data: contributors, as: 'contributor',
                            isEnabled: canEdit,
                            afterRender: setupEditable,
                            options: {containment: '#manageContributors'}}">
                        </tbody>
                    </table>
                    ${buttonGroup()}
            </div>


    % if 'write' in user['permissions']:
        <h2>Private Links</h2>
            <div class="scripted" id="linkScope" >

                    <table id="privateLinkTable" class="table">
                        <thead>
                            <tr>
                            <th class="col-sm-2 link-name">Private Link</th>
                            <th class="col-sm-4 link-label">Label
                            </th>
                            <th class="col-sm-3 link-date">Created Date</th>
                            <th class="col-sm-2 link-creator">Created By</th>
                            <th class="col-sm-1"></th>
                            </tr>
                        </thead>
                        <tbody>

                            <tr>
                                <td colspan="3"  >
                                    <a href="#private-link" data-toggle="modal">
                                        Click to generate a private link
                                    </a>
                                </td>
                            </tr>

                        </tbody>
                        <tbody data-bind="foreach: {data: privateLinks, afterRender: updateClipboard}">
                                <tr>
                                <td class="col-sm-4 link-name">
                                    <button class="btn btn-default btn-mini copy-button" data-trigger="manual" rel="tooltip" title="Click to copy"
                                            data-bind="attr: {data-clipboard-text: linkUrl}" >
                                        <span class="icon-copy" ></span>
                                    </button>
                                    <span class="key-name" data-bind="text: linkUrl"></span>
                                </td>

                                  <td class="col-sm-2 link-label" data-bind="text: label"></td><commit_msg>text fix<commit_after><%inherit file="project/project_base.mako"/>
<%def name="title()">Contributors</%def>

<div class="row">
    <div class="col-md-12">

        <h2>Contributors</h2>
            <div id="manageContributors" class="scripted">
                    <table id="manageContributorsTable" class="table">
                        <thead>
                            <tr>
                            <th class="col-sm-6">Name</th>
                            <th class="col-sm-5">
                                Permissions
                                <i class="icon-question-sign permission-info"
                                        data-toggle="popover"
                                        data-title="Permission Information"
                                        data-container="body"
                                        data-html="true"
                                    ></i>
                            </th>
                            <th class="col-sm-1"></th>
                            </tr>
                        </thead>
                        <tr data-bind="if: canEdit">
                            <td colspan="3">
                                <a href="#addContributors" data-toggle="modal">
                                    Click to add a contributor
                                </a>
                            </td>
                        </tr>
                        <tbody data-bind="sortable: {template: 'contribTpl',
                            data: contributors, as: 'contributor',
                            isEnabled: canEdit,
                            afterRender: setupEditable,
                            options: {containment: '#manageContributors'}}">
                        </tbody>
                    </table>
                    ${buttonGroup()}
            </div>


    % if 'admin' in user['permissions']:
        <h2>Sharing Private Project</h2>
            <div class="scripted" id="linkScope" >

                    <table id="privateLinkTable" class="table">
                        <thead>
                            <tr>
                            <th class="col-sm-2 link-name">Links</th>
                            <th class="col-sm-4 link-label">Shared Project
                            </th>
                            <th class="col-sm-3 link-date">Created Date</th>
                            <th class="col-sm-2 link-creator">Created By</th>
                            <th class="col-sm-1"></th>
                            </tr>
                        </thead>
                        <tbody>

                            <tr>
                                <td colspan="3"  >
                                    <a href="#private-link" data-toggle="modal">
                                        Click to create a link to share this project so those who have the link can view but not edit the project
                                    </a>
                                </td>
                            </tr>

                        </tbody>
                        <tbody data-bind="foreach: {data: privateLinks, afterRender: updateClipboard}">
                                <tr>
                                <td class="col-sm-4 link-name">
                                    <button class="btn btn-default btn-mini copy-button" data-trigger="manual" rel="tooltip" title="Click to copy"
                                            data-bind="attr: {data-clipboard-text: linkUrl}" >
                                        <span class="icon-copy" ></span>
                                    </button>
                                    <span class="key-name" data-bind="text: linkUrl"></span>
                                </td>

                                  <td class="col-sm-2 link-label" data-bind="text: label"></td>
{'fraction_non_alphanumeric': 0.10977207230809537, 'fraction_numerical': 0.004715745349751114, 'mean_word_length': 0.7801352296572628, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7381373', 'n_tokens_mistral': 1740, 'n_tokens_neox': 1618, 'n_words': 335}