<commit_before><ion-view view-title="Download">

    <ion-nav-bar class="bar-stable">
        <ion-nav-back-button>
        </ion-nav-back-button>

        <ion-nav-buttons side="secondary">
            <nav-button class="button icon-left ion-log-out button-stable" ng-click="ctrl.logout()">&nbsp;{{ctrl.username}}</nav-button>
        </ion-nav-buttons>

    </ion-nav-bar>

    <ion-content>

        <div class="card">
            <div class="item item-text-wrap">
                Download contacts so that they are accessible even while offline.
            </div>
            <div class="item">
                <div class="row">
                    <div class="col">
                        <button class="button button-balanced button-block"
                                ng-click="ctrl.downloadContacts()" ng-disabled="isDefined(ctrl.message)">
                            <i class="ion-android-download">&nbsp;Download</i>
                        </button>
                    </div>
                    <div class="col">
                        <button class="button button-assertive button-block"
                                ng-click="ctrl.clearCache()"
                                ng-disabled="ctrl.numberOfDownloadedContacts() === 0">
                            <i class="ion-android-delete">&nbsp;Remove {{ctrl.numberOfDownloadedContacts()}}</i>
                        </button>
                    </div>
                </div>
            </div>
            <div class="item" ng-show="ctrl.message">
                <div class="row row-center">
                    <div class="col col-center">
                        <p>{{ctrl.message}}</p>
                    </div>
                </div>
            </div>

        </div>


    </ion-content>

</ion-view><commit_msg>ELI-21, ELI-22: update config.xml for tel: and mailto: schemes.<commit_after><ion-view view-title="Download">

    <ion-nav-bar class="bar-stable">
        <ion-nav-back-button>
        </ion-nav-back-button>

        <ion-nav-buttons side="secondary">
            <nav-button class="button icon-left ion-log-out button-stable" ng-click="ctrl.logout()">&nbsp;{{ctrl.username}}</nav-button>
        </ion-nav-buttons>

    </ion-nav-bar>

    <ion-content>

        <div class="card">
            <div class="item item-text-wrap">
                Download contacts so that they are accessible even while offline.
            </div>
            <div class="item">
                <div class="row">
                    <div class="col">
                        <button class="button button-balanced button-block"
                                ng-click="ctrl.downloadContacts()" ng-disabled="isDefined(ctrl.message)">
                            <i class="ion-android-download">&nbsp;Download</i>
                        </button>
                    </div>
                    <div class="col">
                        <button class="button button-assertive button-block"
                                ng-click="ctrl.removeDownloadedContacts()"
                                ng-disabled="ctrl.numberOfDownloadedContacts() === 0">
                            <i class="ion-android-delete">&nbsp;Remove {{ctrl.numberOfDownloadedContacts()}}</i>
                        </button>
                    </div>
                </div>
            </div>
            <div class="item" ng-show="ctrl.message">
                <div class="row row-center">
                    <div class="col col-center">
                        <p>{{ctrl.message}}</p>
                    </div>
                </div>
            </div>

        </div>


    </ion-content>

</ion-view>
{'fraction_non_alphanumeric': 0.1436373566357182, 'fraction_numerical': 0.0016384489350081922, 'mean_word_length': 1.316888045540797, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 15, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6271314', 'n_tokens_mistral': 998, 'n_tokens_neox': 921, 'n_words': 169}