Browse Source

Sligth changes to wiki views.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@773 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.6.0
Jean-Philippe Lang 16 years ago
parent
commit
f2a5304d64

+ 0
- 1
app/views/wiki/diff.rhtml View File

<div class="contextual"> <div class="contextual">
<%= link_to(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit') %> <%= link_to(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit') %>
<%= link_to(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history') %> <%= link_to(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history') %>
<%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
</div> </div>


<h2><%= @page.pretty_title %></h2> <h2><%= @page.pretty_title %></h2>

+ 0
- 4
app/views/wiki/edit.rhtml View File

<div class="contextual">
<%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
</div>

<h2><%= @page.pretty_title %></h2> <h2><%= @page.pretty_title %></h2>


<% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:id => 'wiki_form'} do |f| %> <% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:id => 'wiki_form'} do |f| %>

+ 1
- 1
app/views/wiki/export_multiple.rhtml View File

</head> </head>
<body> <body>


<strong><%= l(:label_page_index) %></strong>
<strong><%= l(:label_index_by_title) %></strong>
<ul> <ul>
<% @pages.each do |page| %> <% @pages.each do |page| %>
<li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li> <li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li>

+ 0
- 4
app/views/wiki/history.rhtml View File

<div class="contextual">
<%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
</div>

<h2><%= @page.pretty_title %></h2> <h2><%= @page.pretty_title %></h2>


<h3><%= l(:label_history) %></h3> <h3><%= l(:label_history) %></h3>

+ 3
- 2
app/views/wiki/special_page_index.rhtml View File

<% end %> <% end %>


<ul><% @pages.each do |page| %> <ul><% @pages.each do |page| %>
<li><%= link_to page.pretty_title, :action => 'index', :page => page.title %> -
<%= l(:label_last_updates) %>: <%= format_time(page.updated_on) %></li>
<li><%= link_to page.pretty_title, {:action => 'index', :page => page.title},
:title => l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) %>
</li>
<% end %></ul> <% end %></ul>


<% content_for :sidebar do %> <% content_for :sidebar do %>

Loading…
Cancel
Save