<commit_before><ion-view view-title="{{ 'mm.courses.mycourses' | translate }}">
    <ion-content padding="true">
        <!-- ion-refresher needs to be direct child of ion-content to work with native scrolling -->
        <ion-refresher pulling-text="{{ 'mm.core.pulltorefresh' | translate }}" ng-if="coursesLoaded" on-refresh="refreshCourses()">
        </ion-refresher>
        <mm-loading hide-until="coursesLoaded">
            <div class="list">
                <label class="item item-input">
                    <i class="icon ion-search placeholder-icon"></i>
                    <input type="text" placeholder="{{ 'mm.courses.filter' | translate}}" ng-model="filterText">
                </label>
            </div>
            <div class="list card" ng-repeat="course in courses | filter:{fullname: filterText}">
                <a class="item" ui-sref="site.mm_course({course: course})">
                    <mm-format-text watch="true">{{course.fullname}}</mm-format-text>
                </a>
                <div class="item item-text-wrap" ng-show="course.summary">
                    <p><mm-format-text watch="true">{{course.summary}}</mm-format-text></p>
                </div>
                <div class="item tabs tabs-icon-left" ng-show="plugins.length">
                    <a ng-repeat="plugin in plugins | orderBy:'-priority'" class="tab-item active" ui-sref="{{plugin.data.state}}({course: course})">
                        <i class="icon {{plugin.data.icon}}"></i> {{plugin.data.title | translate}}
                    </a>
                </div>
            </div>
        </mm-loading>
    </ion-content>
</ion-view><commit_msg>MOBILE-1071 courses: Course description collapsed/expanded on click<commit_after><ion-view view-title="{{ 'mm.courses.mycourses' | translate }}">
    <ion-content padding="true">
        <!-- ion-refresher needs to be direct child of ion-content to work with native scrolling -->
        <ion-refresher pulling-text="{{ 'mm.core.pulltorefresh' | translate }}" ng-if="coursesLoaded" on-refresh="refreshCourses()">
        </ion-refresher>
        <mm-loading hide-until="coursesLoaded">
            <div class="list">
                <label class="item item-input">
                    <i class="icon ion-search placeholder-icon"></i>
                    <input type="text" placeholder="{{ 'mm.courses.filter' | translate}}" ng-model="filterText">
                </label>
            </div>
            <div class="list card" ng-repeat="course in courses | filter:{fullname: filterText}">
                <a class="item" ui-sref="site.mm_course({course: course})">
                    <mm-format-text watch="true">{{course.fullname}}</mm-format-text>
                </a>
                <div class="item item-text-wrap" ng-show="course.summary">
                    <p><mm-format-text watch="true" shorten="150" expand-on-click="true">{{course.summary}}</mm-format-text></p>
                </div>
                <div class="item tabs tabs-icon-left" ng-show="plugins.length">
                    <a ng-repeat="plugin in plugins | orderBy:'-priority'" class="tab-item active" ui-sref="{{plugin.data.state}}({course: course})">
                        <i class="icon {{plugin.data.icon}}"></i> {{plugin.data.title | translate}}
                    </a>
                </div>
            </div>
        </mm-loading>
    </ion-content>
</ion-view>
{'fraction_non_alphanumeric': 0.17298091042584435, 'fraction_numerical': 0.0020558002936857563, 'mean_word_length': 2.0879419764279237, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '7384018', 'n_tokens_mistral': 992, 'n_tokens_neox': 942, 'n_words': 191}