Changesets can be listed by changeset number.
The Git repository is here.
Changeset 420
Sort out the Instiki default layout's handling of titles, which
was a bit of a mess and looks like it's not been historically
properly maintained across Instiki versions and Rails releases
(e.g. the use of "@action_name", rather than "action_name()").
The current document's heading - Home Page aside - is shown as
the main title now. Existing pages with their own duplicate
titles inline will need amending.
- Comitted by: rool
- Date: Thursday March 24 15:18:02 2011 (over 13 years ago)
Affected files:
rool/rails/instiki/trunk/app/views/layouts/default.rhtml:
prev. | current | |
<div id="Container"> | ||
<div id="Content"> | ||
<%= hubssolib_flash_tags.html_safe -%> | ||
45 | ||
45 | <% if @error -%> | |
<div class="errorExplanation"><%= ( escape_preserving_linefeeds(@error) ).html_safe %></div> | ||
<% end -%> | ||
50 | ||
50 | <% if @page and (@page.name == 'HomePage') and %w( show published print ).include?(action_name) -%> | |
<h1 id="pageName"> | ||
<%= h(@web.name) + (@show_diff ? ' (changes)' : '') %> | ||
</h1> | ||
54 | ||
54 | <% elsif (@title.blank? == false) -%> | |
<h1 id="pageName"> | ||
56 | | |
56 | <%= @title %> | |
</h1> | ||
58 | ||
59 | | |
60 | | |
61 | | |
62 | | |
63 | | |
64 | | |
65 | ||
66 | | |
67 | ||
68 | | |
69 | ||
70 | ||
58 | <% elsif @web -%> | |
<h1 id="pageName"> | ||
72 | | |
60 | <span class="webName"><%= h(@web.name) %></span> <%= (@show_diff ? ' (changes)' : '') %> | |
</h1> | ||
<% end -%> | ||
... | ... | |
<%= render 'shared/fixed_footer' %> | ||
</body> | ||
114 | ||
102 | </html> | |