Parent Directory | Revision Log
sweeping changes to include PubSub backend JiftyDBI to make publishing work, re-organize templates into (hopefully) more meaningful hierarchy, and a new Search action to drive it all.
1 | <%ARGS> |
2 | $item |
3 | </%ARGS> |
4 | <%init> |
5 | |
6 | my $desc = { |
7 | 'category' => 'in', |
8 | 'author' => 'by', |
9 | 'issued' => 'published on', |
10 | 'modified' => 'modified on', |
11 | }; |
12 | |
13 | </%init> |
14 | |
15 | <div class="result"> |
16 | |
17 | <a class="title" href="<% $item->link %>"><% $item->title %></a> |
18 | <span class="feed">in <% $item->in_feed->title %></span> |
19 | |
20 | % foreach my $f ( qw/category author issued modified/ ) { |
21 | % if ( $item->$f ) { |
22 | <span class="<% $f %>"><% ( $desc->{$f} || '' ) . ' ' . $item->$f %></span> |
23 | % } |
24 | % } |
25 | |
26 | </div><!-- result --> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |