<commit_before>{% extends "idea/idea-base.html" %}

{% block "content" %}

        <div id="content" class="idea-banner-single ic" role="main">
            <div class="row">
                <h5 class="logo span7 section project-title">
                    <a href="{% url 'idea:idea_list' %}">Idea Box</a>
                </h5><!-- /logo -->
            </div>
            <div class="row">
                <div class="row challenge-info span9">
                    <div class="challenge-banner">
                        <h3>Current Challenge:</h3> 
                        <h2>{{banner.title}}</h2>
                    </div>
                    <p class="challenge-entry-content">
                        {{banner.text}}
                    </p>
                    <div id="challenge-link"><a href="{% url 'idea:add_idea' %}">Submit an idea for this challenge</a></div>
                    <div>
                        <span id="start">Challenge start date: {{banner.start_date|date:"SHORT_DATE_FORMAT"}}</span>
                        <span id="end">Challenge end date: {{banner.end_date|date:"SHORT_DATE_FORMAT"}}</span>
                    </div>
                </div><!-- /row -->
            </div>
            <div class="row">
                <section id="main" class="main-content span9">
                {% if ideas %}
                {% for idea in ideas %}
                        <article class="idea-entry">
                        <div class="row">
                            <div class="idea-votes left">
                                <div class="count">{{idea.vote_count}}</div>
                                <div class="phrase">Like{{idea.vote_count|pluralize:",s"}}</div>
                                <div class="action">
                                {% if idea.state.name == 'Archive' %}
                                    <span class="btn-archive">Archived</span>
                                {% elif request.user in idea.voters.all %}
                                    <span class="btn btn-voted">Liked</span>
                                {% else %}
                                    <form action="{% url 'idea:upvote_idea' %}" method=POST>
                                        {% csrf_token %}
                                        <input type="hidden" name="idea_id" value="{{idea.id}}"/>
                                        <input type="hidden" name="next" value="{% url 'idea:idea_list' %}"/>
                                        <input type="submit" class="btn btn-vote" value="Like" id="vote_up"/>
                                    </form>
                                {% endif %}
                                </div>
                            </div><!-- /idea-votes -->
                            <div class="idea-wrap span10">
                                <header class="idea-title">
                                    <a href="{% url 'idea:idea_detail' idea.id %}"><h3>{{idea.title}}</h3></a>
                                </header>
                                <div class="idea-description">
                                    {{ idea.summary|truncatechars:250 }}
                                </div>
                                <div class="idea-more">
                                    <a href="{% url 'idea:idea_detail' idea.id %}">Read More</a>
                                </div>
                                <footer class="idea-footer">
                                    <div class="idea-info"><commit_msg>IN-469 - Adjust style for 'Read More' in challenge page<commit_after>{% extends "idea/idea-base.html" %}

{% block "content" %}

        <div id="content" class="idea-banner-single ic" role="main">
            <div class="row">
                <h5 class="logo span7 section project-title">
                    <a href="{% url 'idea:idea_list' %}">Idea Box</a>
                </h5><!-- /logo -->
            </div>
            <div class="row">
                <div class="row challenge-info span9">
                    <div class="challenge-banner">
                        <h3>Current Challenge:</h3> 
                        <h2>{{banner.title}}</h2>
                    </div>
                    <p class="challenge-entry-content">
                        {{banner.text}}
                    </p>
                    <div id="challenge-link"><a href="{% url 'idea:add_idea' %}">Submit an idea for this challenge</a></div>
                    <div>
                        <span id="start">Challenge start date: {{banner.start_date|date:"SHORT_DATE_FORMAT"}}</span>
                        <span id="end">Challenge end date: {{banner.end_date|date:"SHORT_DATE_FORMAT"}}</span>
                    </div>
                </div><!-- /row -->
            </div>
            <div class="row">
                <section id="main" class="main-content span9">
                {% if ideas %}
                {% for idea in ideas %}
                        <article class="idea-entry">
                        <div class="row">
                            <div class="idea-votes left">
                                <div class="count">{{idea.vote_count}}</div>
                                <div class="phrase">Like{{idea.vote_count|pluralize:",s"}}</div>
                                <div class="action">
                                {% if idea.state.name == 'Archive' %}
                                    <span class="btn-archive">Archived</span>
                                {% elif request.user in idea.voters.all %}
                                    <span class="btn btn-voted">Liked</span>
                                {% else %}
                                    <form action="{% url 'idea:upvote_idea' %}" method=POST>
                                        {% csrf_token %}
                                        <input type="hidden" name="idea_id" value="{{idea.id}}"/>
                                        <input type="hidden" name="next" value="{% url 'idea:idea_list' %}"/>
                                        <input type="submit" class="btn btn-vote" value="Like" id="vote_up"/>
                                    </form>
                                {% endif %}
                                </div>
                            </div><!-- /idea-votes -->
                            <div class="idea-wrap span10">
                                <header class="idea-title">
                                    <a href="{% url 'idea:idea_detail' idea.id %}"><h3>{{idea.title}}</h3></a>
                                </header>
                                <div class="idea-description">
                                    {{ idea.summary|truncatechars:250 }}
                                    <span class="idea-more">
                                        &nbsp;<a href="{% url 'idea:idea_detail' idea.id %}">Read More &#xf054;</a>
                                    </span>
                                </div>
                                <footer class="idea-footer">
                                    <div class="idea-info">
{'fraction_non_alphanumeric': 0.14201266713581984, 'fraction_numerical': 0.005348346235045743, 'mean_word_length': 0.9656984785615491, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 139, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 38, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2639098', 'n_tokens_mistral': 1831, 'n_tokens_neox': 1625, 'n_words': 334}