Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 59
- Log:
Updating application layouts to provide a more consistent page title.
- Author:
- adh
- Date:
- Sun Aug 06 17:01:07 +0100 2006
- Size:
- 2947 Bytes
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> |
4 | <title> |
5 | RISC OS Open: |
6 | <% if @page and (@page.name == 'HomePage') and (%w( show published print ).include?(@action_name)) %> |
7 | <%= h @web.name %> |
8 | <% elsif @web %> |
9 | <%= h @web.name %>: <%= @title %> |
10 | <% else %> |
11 | <%= @title %> |
12 | <% end %> |
13 | <%= @show_diff ? ' (changes)' : '' %> |
14 | </title> |
15 | |
16 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
17 | <meta name="robots" content="<%= @robots_metatag_value %>" /> |
18 | |
19 | <style type="text/css"> |
20 | <%= File.read(RAILS_ROOT + '/public/stylesheets/instiki.css') if @inline_style %> |
21 | </style> |
22 | |
23 | <%= stylesheet_link_tag 'instiki' unless @inline_style %> |
24 | |
25 | <style type="text/css"> |
26 | <%= @style_additions %> |
27 | <%= @web ? @web.additional_style : '' %> |
28 | </style> |
29 | |
30 | <% if @web %><%= auto_discovery_link_tag(:rss, :controller => 'wiki', :web => @web.address, :action => 'rss_with_headlines') %> |
31 | <%= auto_discovery_link_tag(:rss, :controller => 'wiki', :web => @web.address, :action => 'rss_with_content') %><% end %> |
32 | </head> |
33 | |
34 | <body> |
35 | <%= render 'shared/fixed_header' %> |
36 | |
37 | <!-- Forum contents table --> |
38 | |
39 | <p /> |
40 | <table width="85%" cellspacing="0" cellpadding="0" align="center"> |
41 | <tr valign="top" align="left"> |
42 | <td width="75%"> |
43 | <h2 id="pageName"> |
44 | <% def home_link(text) |
45 | link_to h(text), { :controller => 'wiki', :action => 'show', :id => 'HomePage' } |
46 | end %> |
47 | <% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(@action_name) %> |
48 | <%= home_link(@web.name) %><span style="font-weight: normal"><%= (@show_diff ? ' (changes)' : '') %></span> |
49 | <% elsif @web %> |
50 | <%= home_link(@web.name + ':') %> <span style="font-weight: normal"><%= @title %></span> |
51 | <% else %> |
52 | <%= home_link(@title) %> |
53 | <% end %> |
54 | </h2> |
55 | |
56 | <% if @flash[:info] %><div class="info"> |
57 | <%= escape_preserving_linefeeds @flash[:info] %> |
58 | </div><% end %> |
59 | <% if @error or @flash[:error] %><div class="errorExplanation"> |
60 | <%= escape_preserving_linefeeds(@error || @flash[:error]) %> |
61 | </div><% end %> |
62 | |
63 | <%= @content_for_layout %> |
64 | </td> |
65 | |
66 | <td> </td> |
67 | <td bgcolor="#bbbbbb" class="column_divider"><img src="/images/utilities/blank.gif" width="1" height="1" alt="." border="0" /></td> |
68 | <td> </td> |
69 | |
70 | <td width="25%"> |
71 | <div id="sidebar"> |
72 | <%= if (@web.nil? || @hide_navigation) then render 'shared/fixed_sidebar' else render 'navigation' end %> |
73 | </div> |
74 | </td> |
75 | </tr> |
76 | </table> |
77 | |
78 | <%= render 'shared/fixed_footer' %> |
79 | </body> |
80 | </html> |