MobileBlur

Artifact [a70d7ea9da]
Login

Artifact [a70d7ea9da]

Artifact a70d7ea9da974f0d6ad0aed09267378fba42210b:


{{extend 'layout.html'}}

{{ block header_bonus }}
    <h2>{{= feed["feed_title"] }}</h2>
    <a href="{{= URL("mark_read", args=[feed["id"]]) }}" class="button">Mark feed as read</a>
{{ end }}

<section id="story-list">
    {{ 
        for story in stories: 
        if sum([v for k,v in story["intelligence"].iteritems()]) < threshold:
            continue
    }}

        <a href="{{= URL(c="stories", f="view", vars=dict(story=story["id"], feed_id=feed["id"])) }}" }}">
            <div class="story">
                <p class="story-title {{= "unread" if story["read_status"] == 0 else "read" }}">{{= story["story_title"] }}</p>
                <p class="story-date">{{= story["story_date"] }}</p>
            </div>
        </a>
    {{ pass }}
</section>