<commit_before>{% extends "base_with_margins.html" %}
{% load extras %}
{% load lametro_extras %}
{% load staticfiles %}
{% block title %}{{committee.name}}{% endblock %}
{% block content %}

    <div class="row-fluid">
        <div class="col-sm-8">
            <br/>
            <h1>{{committee.name }}</h1>
            {% if committee_description %}
                <p>{{committee_description}}</p>
            {% endif %}

        </div>
    </div>

    <div class="row-fluid">
        <div class="col-sm-12">
        <hr />
        </div>
    </div>

    <div class="row-fluid">
        {% if committee.recent_activity %}
        <!-- Recent activity -->
        <div class="col-sm-7">
            <h4><i class='fa fa-fw fa-list-ul'></i> Recent Activity
                <a href="actions/rss/" title="RSS feed for Recent Activity by {{committee.name}}" target="_blank"><i class="fa fa-rss-square" aria-hidden="true"></i></a>
            </h4>
            <div class="table-responsive">
                <table class='table' id='committee-actions'>
                    <thead>
                        <tr>
                            <th>Action</th>
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                        {% for action in committee.recent_activity %}
                            <tr class="activity-row">
                                <td class='nowrap'>
                                    <p class="text-muted small no-pad-bottom">
                                        {{action.date|date:'n/d/Y'}}
                                    </p>
                                    <p class="small no-pad-bottom">
                                        <span class='text-{{action.label}}'>{{action.description | remove_action_subj}}</span>
                                    </p>
                                </td>
                                <td>
                                    <p class="small no-pad-bottom">
                                        <a href="/board-report/{{action.bill.slug}}/">{{action.bill.friendly_name}}</a>
                                    </p>
                                    <p class="small no-pad-bottom">
                                        {{action.bill.description | short_blurb}}
                                    </p>
                                </td>
                            </tr>
                        {% endfor %}

                        {% if committee.recent_activity|length > 4  %}
                            <tr>
                                <td colspan="3" align="center">
                                    <a href="" id="more-actions"><i class="fa fa-fw fa-chevron-down"></i>Show more</a>
                                    <a href="" id="fewer-actions"><i class="fa fa-fw fa-chevron-up"></i>Show fewer</a>
                                </td>
                            </tr>
                        {% endif %}

                    </tbody>
                </table>
            </div>
        </div>

        <!-- Recent events -->
        <div class="col-sm-5">
        {% else %}
        <!-- If no committee activity, remove `committee-actions` table entirely, and expand the recent events column to 100%.  -->
        <div class="col-sm-12">
        {% endif %}
            {% if committee.recent_events %}

                <h4>
                    <i class='fa fa-fw fa-calendar-o'></i> Committee {{ CITY_VOCAB.EVENTS }}
                    <a href="events/rss/" title="RSS feed for Committe Events by {{committee.name}}"><i class="fa fa-rss-square" aria-hidden="true"></i></a>
                </h4>
                <br>
                {% for event in committee.recent_events %}
                    <p class='event-listing'>
                        {{event.start_time | date:'n/d/Y' }} - {{event.link_html | safe}}
                    </p>
                {% endfor %}
                <a href="" id="more-events"><i class="fa fa-fw fa-chevron-down"></i>Show more</a>
                <a href="" id="fewer-events"><i class="fa fa-fw fa-chevron-up"></i>Show fewer</a>
            {% endif %}

        </div>
    </div>

    <div class="row-fluid">
        <div class="col-sm-12">
        <hr />
        </div>
    </div>

    <div class="row-fluid">
        <div class="col-sm-8">

            <h4><i class='fa fa-fw fa-group'></i> Committee Members</h4>
            <table class='table' id='council-members'><commit_msg>Remove recent activity from committee page, related to #342<commit_after>{% extends "base_with_margins.html" %}
{% load extras %}
{% load lametro_extras %}
{% load staticfiles %}
{% block title %}{{committee.name}}{% endblock %}
{% block content %}

    <div class="row-fluid">
        <div class="col-sm-8">
            <br/>
            <h1>{{committee.name }}</h1>
            {% if committee_description %}
                <p>{{committee_description}}</p>
            {% endif %}

        </div>
    </div>

    <div class="row-fluid">
        <div class="col-sm-12">
        <hr />
        </div>
    </div>

    <div class="row-fluid">
        <div class="col-sm-12">
            {% if committee.recent_events %}

                <h4>
                    <i class='fa fa-fw fa-calendar-o'></i> Committee {{ CITY_VOCAB.EVENTS }}
                    <a href="events/rss/" title="RSS feed for Committe Events by {{committee.name}}"><i class="fa fa-rss-square" aria-hidden="true"></i></a>
                </h4>
                <br>
                {% for event in committee.recent_events %}
                    <p class='event-listing'>
                        {{event.start_time | date:'n/d/Y' }} - {{event.link_html | safe}}
                    </p>
                {% endfor %}
                <a href="" id="more-events"><i class="fa fa-fw fa-chevron-down"></i>Show more</a>
                <a href="" id="fewer-events"><i class="fa fa-fw fa-chevron-up"></i>Show fewer</a>
            {% endif %}
        </div>
    </div>

    <div class="row-fluid">
        <div class="col-sm-12">
        <hr />
        </div>
    </div>

    <div class="row-fluid">
        <div class="col-sm-8">

            <h4><i class='fa fa-fw fa-group'></i> Committee Members</h4>
            <table class='table' id='council-members'>
{'fraction_non_alphanumeric': 0.1630589350608311, 'fraction_numerical': 0.006320113762047717, 'mean_word_length': 1.2032718412808912, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 160, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 17, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4656136', 'n_tokens_mistral': 1913, 'n_tokens_neox': 1698, 'n_words': 355}