<commit_before><header class="clearfix">
    <div class="logo pull-left flip">
        <a class="navbar-brand" href="<?php echo $this->url('home') ?>">
            <img src="<?php echo $this->basePath('/trash/images/en_logo.jpg') ?>" alt="Republic of Iraq"/>&nbsp;
        </a>
    </div>
    <div class="head-logo pull-left flip">
        <?php echo $this->translate('Republic of Iraq') ?><br />
        <?php echo $this->translate('Ministry of Foreign Affairs') ?>
    </div>
    <div id="language-switcher">
        <div class="dropdown">
            <button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <?php echo $this->translate('Language') ?>
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                <li>
                    <a href="/" title="<?php echo $this->translate('English') ?>"><?php echo $this->translate('English') ?></a>
                    <a href="/ar/" title="<?php echo $this->translate('Arabic') ?>"><?php echo $this->translate('Arabic') ?></a>
                </li>
            </ul>
        </div>
    </div>
</header>
<nav id="top-nav" class="navbar navbar-inverse" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>
        <div class="collapse navbar-collapse">
            <?php echo $this->partial('layout/navigation') ?>
        </div><!--/.nav-collapse -->
    </div>
</nav>
<div id="news-ticker" class="clearfix">
    <div class="title pull-left flip">
        <?php echo $this->translate('News') ?>
    </div>
    <div class="news-ticker-content pull-left flip">
        <script>
            var newsTickerUrl = '<?php echo $this->url('news-ticker') ?>';
        </script>
        <ul class="news-ticker">
            <li>
                <?php echo $this->translate('No news.') ?>
            </li>
        </ul>
    </div>
</div><commit_msg>Show loading spinning on news ticker before loading news<commit_after><header class="clearfix">
    <div class="logo pull-left flip">
        <a class="navbar-brand" href="<?php echo $this->url('home') ?>">
            <img src="<?php echo $this->basePath('/trash/images/en_logo.jpg') ?>" alt="Republic of Iraq"/>&nbsp;
        </a>
    </div>
    <div class="head-logo pull-left flip">
        <?php echo $this->translate('Republic of Iraq') ?><br />
        <?php echo $this->translate('Ministry of Foreign Affairs') ?>
    </div>
    <div id="language-switcher">
        <div class="dropdown">
            <button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <?php echo $this->translate('Language') ?>
                <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                <li>
                    <a href="/" title="<?php echo $this->translate('English') ?>"><?php echo $this->translate('English') ?></a>
                    <a href="/ar/" title="<?php echo $this->translate('Arabic') ?>"><?php echo $this->translate('Arabic') ?></a>
                </li>
            </ul>
        </div>
    </div>
</header>
<nav id="top-nav" class="navbar navbar-inverse" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>
        <div class="collapse navbar-collapse">
            <?php echo $this->partial('layout/navigation') ?>
        </div><!--/.nav-collapse -->
    </div>
</nav>
<div id="news-ticker" class="clearfix">
    <div class="title pull-left flip">
        <?php echo $this->translate('News') ?>
    </div>
    <div class="news-ticker-content pull-left flip">
        <script>
            var newsTickerUrl = '<?php echo $this->url('news-ticker') ?>';
        </script>
        <ul class="news-ticker">
            <li>
                <i class="glyphicon glyphicon-refresh spinning"></i>
            </li>
        </ul>
    </div>
</div>
{'fraction_non_alphanumeric': 0.19842829076620824, 'fraction_numerical': 0.0, 'mean_word_length': 2.2131837307152877, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 0, '>': 165, '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': '7144351', 'n_tokens_mistral': 1364, 'n_tokens_neox': 1339, 'n_words': 297}