mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 19:53:07 +00:00
replaced hardcoded strings in wiki views
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@291 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
003960b811
commit
74bfe8b9e5
@ -1,5 +1,5 @@
|
||||
<div class="contextual">
|
||||
<%= link_to('Page index', {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
|
||||
<%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
|
||||
</div>
|
||||
|
||||
<h2><%= @page.pretty_title %></h2>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div class="contextual">
|
||||
<%= link_to('Page index', {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
|
||||
<%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
|
||||
</div>
|
||||
|
||||
<h2><%= @page.pretty_title %></h2>
|
||||
|
||||
@ -1,19 +1,21 @@
|
||||
<div class="contextual">
|
||||
<%= link_to(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit') if @content.version == @page.content.version %>
|
||||
<%= link_to(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history') %>
|
||||
<%= link_to('Page index', {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
|
||||
<%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
|
||||
</div>
|
||||
|
||||
<h2><%= @page.pretty_title %></h2>
|
||||
<h2><%=h @page.pretty_title %></h2>
|
||||
|
||||
<% if @content.version != @page.content.version %>
|
||||
<div class="box">
|
||||
<div style="float:right;">
|
||||
<%= link_to('Version actuelle', :action => 'index', :page => @page.title) %> (<%= @page.content.version %>)
|
||||
<%= link_to(l(:label_current_version), :action => 'index', :page => @page.title) %> (<%= @page.content.version %>)
|
||||
<%= " - " + link_to(('« ' + l(:label_previous)), :action => 'index', :page => @page.title, :version => (@content.version - 1)) if @content.version > 1 %>
|
||||
<%= " - " + link_to((l(:label_next) + ' »'), :action => 'index', :page => @page.title, :version => (@content.version + 1)) if @content.version < @page.content.version %>
|
||||
</div>
|
||||
<%= "Version #{@content.version} du #{format_time(@content.updated_on)}" %>
|
||||
<%= "<strong>#{l(:label_version)} #{@content.version}</strong> - #{format_time(@content.updated_on)}" %>
|
||||
<em>(<%= @content.author ? @content.author.name : "anonyme" %>)</em><br />
|
||||
<%=h @content.comment %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<h2>Page index</h2>
|
||||
<h2><%= l(:label_page_index) %></h2>
|
||||
|
||||
<% if @pages.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
|
||||
<ul><% @pages.each do |page| %>
|
||||
|
||||
@ -320,6 +320,8 @@ label_search: Recherche
|
||||
label_result: %d résultat
|
||||
label_result_plural: %d résultats
|
||||
label_wiki: Wiki
|
||||
label_page_index: Index des pages
|
||||
label_current_version: Version actuelle
|
||||
|
||||
button_login: Connexion
|
||||
button_submit: Soumettre
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user