##// END OF EJS Templates
Sligth changes to wiki views....
Jean-Philippe Lang -
r762:f2a5304d648f
parent child
Show More
@@ -1,7 +1,6
1 1 <div class="contextual">
2 2 <%= link_to(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit') %>
3 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 4 </div>
6 5
7 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 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 10 </head>
11 11 <body>
12 12
13 <strong><%= l(:label_page_index) %></strong>
13 <strong><%= l(:label_index_by_title) %></strong>
14 14 <ul>
15 15 <% @pages.each do |page| %>
16 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 3 <h3><%= l(:label_history) %></h3>
@@ -5,8 +5,9
5 5 <% end %>
6 6
7 7 <ul><% @pages.each do |page| %>
8 <li><%= link_to page.pretty_title, :action => 'index', :page => page.title %> -
9 <%= l(:label_last_updates) %>: <%= format_time(page.updated_on) %></li>
8 <li><%= link_to page.pretty_title, {:action => 'index', :page => page.title},
9 :title => l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) %>
10 </li>
10 11 <% end %></ul>
11 12
12 13 <% content_for :sidebar do %>
General Comments 0
You need to be logged in to leave comments. Login now