Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 715 Bytes
1 | class Sidebar < ActiveRecord::Base |
2 | # acts_as_list |
3 | serialize :config |
4 | |
5 | def self.find_all_visible |
6 | find :all, :conditions => 'active_position is not null', :order => 'active_position' |
7 | end |
8 | |
9 | def self.find_all_staged |
10 | find :all, :conditions => 'staged_position is not null', :order => 'staged_position' |
11 | end |
12 | |
13 | def self.purge |
14 | delete_all('active_position is null and staged_position is null') |
15 | end |
16 | |
17 | def publish |
18 | self.active_position=self.staged_position |
19 | end |
20 | |
21 | def sidebar_controller |
22 | @sidebar_controller ||= SidebarController.available_sidebars.find { |s| s.short_name == self.controller } |
23 | end |
24 | |
25 | def config |
26 | self[:config]||{} |
27 | end |
28 | |
29 | def html_id |
30 | controller+'-'+id.to_s |
31 | end |
32 | end |