<commit_before>{{#if hasRecords}}
    <table class="table">
        <tr class="table-header">
            <th>Date Requested</th>
            <th>Patient</th>
            <th>Imaging Type</th>
            <th>Notes</th>            
            {{#if showActions}}
                <th>Actions</th>
            {{/if}}
        </tr>
        {{#with this as parentController}}
            {{#each}}
                <tr {{action 'editItem' this}}>
                    <td>{{date-format requestedDate}}</td>
                    <td>{{patient.displayName}}</td>
                    <td>{{imagingType.name}}</td>
                    <td>{{notes}}</td>                    
                     {{#if parentController.showActions}}
                        <td>
                            {{#if parentController.canEdit}}
                                <button class="btn btn-default neutral" {{action 'editItem' this  bubbles=false }}>Edit</button>
                            {{/if}}                            
                        </td>
                    {{/if}}
                </tr>
            {{/each}}
        {{/with}}
    </table>
{{else}}
    <div class="alert alert-info">
        <em>No items found.  Create a new record?</em> 
        {{#if canAdd}}
            <button class="btn btn-primary" {{action 'newItem'}}>New Imaging</button>
        {{/if}}
    </div>    
{{/if}}<commit_msg>Changed text when there are no records.<commit_after>{{#if hasRecords}}
    <table class="table">
        <tr class="table-header">
            <th>Date Requested</th>
            <th>Patient</th>
            <th>Imaging Type</th>
            <th>Notes</th>
            {{#if showActions}}
                <th>Actions</th>
            {{/if}}
        </tr>
        {{#with this as parentController}}
            {{#each}}
                <tr {{action 'editItem' this}}>
                    <td>{{date-format requestedDate}}</td>
                    <td>{{patient.displayName}}</td>
                    <td>{{imagingType.name}}</td>
                    <td>{{notes}}</td>
                     {{#if parentController.showActions}}
                        <td>
                            {{#if parentController.canEdit}}
                                <button class="btn btn-default neutral" {{action 'editItem' this  bubbles=false }}>Edit</button>
                            {{/if}}
                        </td>
                    {{/if}}
                </tr>
            {{/each}}
        {{/with}}
    </table>
{{else}}
    <div class="alert alert-info">
        <em>No items found.</em>
        {{#if canAdd}}
            <em>Create a new record?</em>
            <button class="btn btn-primary" {{action 'newItem'}}>New Imaging</button>
        {{/if}}
    </div>
{{/if}}
{'fraction_non_alphanumeric': 0.16276557436082104, 'fraction_numerical': 0.0, 'mean_word_length': 1.1822466614296936, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1337890', 'n_tokens_mistral': 778, 'n_tokens_neox': 727, 'n_words': 153}