Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 208
- Log:
First attempt at Gullery configured for the ROOL site. Unfroze the
Rails revision by deleting vendor/rails; Hub integration by a veneer
in the lib/authenticated_system.rb (Acts As Authenticated) plug-in,
plus some view changes and protection for the Account controller;
rewrote the default layout in .rhtml rather than .mab; plus the
usual set of configuration changes to work from a subdirectory and
with the ROOL database server.
- Author:
- rool
- Date:
- Sun May 20 19:12:33 +0100 2007
- Size:
- 442 Bytes
1 | # Methods added to this helper will be available to all templates in the application. |
2 | module ApplicationHelper |
3 | |
4 | def show_page_title |
5 | !@user.nil? && !@user.company.blank? ? @user.company : 'Photo gallery' |
6 | end |
7 | |
8 | def show_page_nav |
9 | user = User.find_first |
10 | return 'Photo gallery' if user.nil? |
11 | nav = link_to(user.company + (@project ? ':' : ''), :controller => '/') |
12 | nav += ' ' + @project.name if @project |
13 | nav |
14 | end |
15 | end |