MobileBlur

Check-in [4e2808f7d1]
Login
Overview
Comment:[12e10e324e61e687d024bb1aac1a1c031ef48dd3] Added each story's timestamp below it in the story list
Timelines: family | ancestors | descendants | both | develop
Files: files | file ages | folders
SHA1: 4e2808f7d1555ce7e92122b17f4fed0cbfd1eb12
User & Date: spiffy on 2011-11-20 23:52:44
Other Links: branch diff | manifest | tags
References
2011-11-20
23:53 Closed ticket [12e10e324e]: Add timestamps to stories in the story page and story list plus 3 other changes artifact: 83536b3679 user: spiffytech
Context
2011-11-21
03:08
[2bd69fdb5b4c5fc04d40ea402cc18510b073c4e3] Mobileblur is now the default web2py app check-in: e23a2d0023 user: spiffy tags: develop
2011-11-20
23:52
[12e10e324e61e687d024bb1aac1a1c031ef48dd3] Added each story's timestamp below it in the story list check-in: 4e2808f7d1 user: spiffy tags: develop
23:48
[450ab2dd15] Read stories are now a different color from unread stories check-in: 137407b6e5 user: spiffy tags: develop
Changes

Modified applications/mobileblur/views/feeds/view.html from [8998393fb7] to [c504c9ef12].

1
2
3
4
5
6
7
8
9

10
11
12
13
14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15









+





{{left_sidebar_enabled=right_sidebar_enabled=False}}
{{extend 'layout.html'}}

<h1>{{= feed["feed_title"] }}</h1>
<a href="{{= URL("mark_read", args=[feed["id"]]) }}"> Mark feed as read</a>

<section id="story-list">
    {{ for story in stories: }}
        <a href="{{= URL(c="stories", f="view", vars=dict(story=story["id"], feed_id=feed["id"])) }}" class="{{= "unread" if story["read_status"] == 1 else "read" }}"><h2>{{= story["story_title"] }}</h2></a>
        <p>{{= story["story_date"] }}</p>
    {{ pass }}
</section>

{{block left_sidebar}}New Left Sidebar Content{{end}}
{{block right_sidebar}}New Right Sidebar Content{{end}}