@@ -1,7 +1,6 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 | <%= link_to(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit') %> |
|
2 | <%= link_to(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit') %> | |
3 | <%= link_to(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history') %> |
|
3 | <%= link_to(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history') %> | |
4 | <%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %> |
|
|||
5 | </div> |
|
4 | </div> | |
6 |
|
5 | |||
7 | <h2><%= @page.pretty_title %></h2> |
|
6 | <h2><%= @page.pretty_title %></h2> |
@@ -1,7 +1,3 | |||||
1 | <div class="contextual"> |
|
|||
2 | <%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %> |
|
|||
3 | </div> |
|
|||
4 |
|
||||
5 |
|
|
1 | <h2><%= @page.pretty_title %></h2> | |
6 |
|
2 | |||
7 | <% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:id => 'wiki_form'} do |f| %> |
|
3 | <% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:id => 'wiki_form'} do |f| %> |
@@ -10,7 +10,7 h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; } | |||||
10 | </head> |
|
10 | </head> | |
11 | <body> |
|
11 | <body> | |
12 |
|
12 | |||
13 |
<strong><%= l(:label_ |
|
13 | <strong><%= l(:label_index_by_title) %></strong> | |
14 | <ul> |
|
14 | <ul> | |
15 | <% @pages.each do |page| %> |
|
15 | <% @pages.each do |page| %> | |
16 | <li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li> |
|
16 | <li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li> |
@@ -1,7 +1,3 | |||||
1 | <div class="contextual"> |
|
|||
2 | <%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %> |
|
|||
3 | </div> |
|
|||
4 |
|
||||
5 |
|
|
1 | <h2><%= @page.pretty_title %></h2> | |
6 |
|
2 | |||
7 | <h3><%= l(:label_history) %></h3> |
|
3 | <h3><%= l(:label_history) %></h3> |
@@ -5,8 +5,9 | |||||
5 | <% end %> |
|
5 | <% end %> | |
6 |
|
6 | |||
7 | <ul><% @pages.each do |page| %> |
|
7 | <ul><% @pages.each do |page| %> | |
8 |
<li><%= link_to page.pretty_title, :action => 'index', :page => page.title |
|
8 | <li><%= link_to page.pretty_title, {:action => 'index', :page => page.title}, | |
9 | <%= l(:label_last_updates) %>: <%= format_time(page.updated_on) %></li> |
|
9 | :title => l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) %> | |
|
10 | </li> | |||
10 | <% end %></ul> |
|
11 | <% end %></ul> | |
11 |
|
12 | |||
12 | <% content_for :sidebar do %> |
|
13 | <% content_for :sidebar do %> |
General Comments 0
You need to be logged in to leave comments.
Login now