Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 592 Bytes
1 | class RecentCommentsSidebar < Sidebar |
2 | description "Displays the most recent comments." |
3 | |
4 | setting :title, "Recent Comments", :label => "Title" |
5 | setting :count, 5, :label => "Number of Comments" |
6 | setting :show_username, true, :label => "Show Username", :input_type => :checkbox |
7 | setting :show_article, true, :label => "Show Article Title", :input_type => :checkbox |
8 | |
9 | def comments |
10 | @comments ||= |
11 | Comment.find(:all, |
12 | :limit => count, |
13 | :conditions => ['published = ?', true], |
14 | :order => 'created_at DESC') |
15 | end |
16 | end |