<commit_before>﻿<div class="col-md-8 col-md-offset-2 text-center jumbotron">
    <div ng-if="vm.isAuthenticated" filter-panel></div>

    <div ng-if="!vm.isAuthenticated">
        <h2>If you enjoy the content - login for more.</h2>
    </div>

    <div class="row" ng-repeat="article in vm.articles">
        <div class="col-md-3">
            <br />
            <br />
            <br />
            <div class="profile-image-container">
                <img class="profile-image" ng-src="{{article.Author.ProfileImage || vm.DefaultProfile}}" width="100%" height="100%" />
            </div>
            <a href="/user/{{article.Author.UserName}}" class="text-center">{{article.Author.UserName}}</a>
            <div class="row">
                <br />
                <a href="/article/{{article.Id}}" class="btn btn-primary">Article details</a>
            </div>
        </div>
        <div class="col-md-9">
            <div class="row">
                <h2 class="word-break">{{article.Title}}</h2>
            </div>
            <div class="row text-left">
                <p class="word-break"><small><span ng-bind-html="article.Description"></span></small></p>
            </div>
            <div class="row">
                <div class="text-left pull-left">
                    <div>Rating: {{article.Rating | roundToDecimal: 2}}</div>
                    <div>Category: {{article.Category.Name}}</div>
                    <div>Publish date: {{article.DatePublished | dateFormat}}</div>
                </div>
                <div class="pull-right">
                    <div ng-if="vm.isAuthenticated" class="row">
                        <div class="row">
                            <br />
                            <div class="col-md-4">
                                <button class="btn btn-md btn-success" ng-click="vm.rateArticle($index, rating)">Rate</button>
                            </div>
                            <div class="col-md-8">
                                <select class="form-control" ng-model="rating">
                                    <option value="1">1</option>
                                    <option value="2">2</option><commit_msg>Fixed article details button visualization for unauthenticated users<commit_after>﻿<div class="col-md-8 col-md-offset-2 text-center jumbotron">
    <div ng-if="vm.isAuthenticated" filter-panel></div>

    <div ng-if="!vm.isAuthenticated">
        <h2>If you enjoy the content - login for more.</h2>
    </div>

    <div class="row" ng-repeat="article in vm.articles">
        <div class="col-md-3">
            <br />
            <br />
            <br />
            <div class="profile-image-container">
                <img class="profile-image" ng-src="{{article.Author.ProfileImage || vm.DefaultProfile}}" width="100%" height="100%" />
            </div>
            <a href="/user/{{article.Author.UserName}}" class="text-center">{{article.Author.UserName}}</a>
            <div class="row" ng-if="vm.isAuthenticated">
                <br />
                <a href="/article/{{article.Id}}" class="btn btn-primary">Article details</a>
            </div>
        </div>
        <div class="col-md-9">
            <div class="row">
                <h2 class="word-break">{{article.Title}}</h2>
            </div>
            <div class="row text-left">
                <p class="word-break"><small><span ng-bind-html="article.Description"></span></small></p>
            </div>
            <div class="row">
                <div class="text-left pull-left">
                    <div>Rating: {{article.Rating | roundToDecimal: 2}}</div>
                    <div>Category: {{article.Category.Name}}</div>
                    <div>Publish date: {{article.DatePublished | dateFormat}}</div>
                </div>
                <div class="pull-right">
                    <div ng-if="vm.isAuthenticated" class="row">
                        <div class="row">
                            <br />
                            <div class="col-md-4">
                                <button class="btn btn-md btn-success" ng-click="vm.rateArticle($index, rating)">Rate</button>
                            </div>
                            <div class="col-md-8">
                                <select class="form-control" ng-model="rating">
                                    <option value="1">1</option>
                                    <option value="2">2</option>
{'fraction_non_alphanumeric': 0.16614349775784754, 'fraction_numerical': 0.009417040358744395, 'mean_word_length': 1.4824707846410685, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1788487', 'n_tokens_mistral': 1288, 'n_tokens_neox': 1209, 'n_words': 221}