##// END OF EJS Templates
Perf: don't load preferences for the anonymous user....
Perf: don't load preferences for the anonymous user. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9917 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9346:5e57a1a9d947
r9734:bd927eea88a6
Show More
show.html.erb
72 lines | 3.9 KiB | text/plain | TextLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes)....
r1400 <% if @editable %>
Jean-Philippe Lang
Adds #current_version? method to wiki content....
r7852 <%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :id => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) if @content.current_version? %>
Jean-Philippe Lang
Ability to watch a wiki or a single wiki page (#413)....
r2666 <%= watcher_tag(@page, User.current) %>
Eric Davis
Refactor: use :id instead of :page when linking to Wiki Pages...
r4182 <%= link_to_if_authorized(l(:button_lock), {:action => 'protect', :id => @page.title, :protected => 1}, :method => :post, :class => 'icon icon-lock') if !@page.protected? %>
<%= link_to_if_authorized(l(:button_unlock), {:action => 'protect', :id => @page.title, :protected => 0}, :method => :post, :class => 'icon icon-unlock') if @page.protected? %>
Jean-Philippe Lang
Adds #current_version? method to wiki content....
r7852 <%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :id => @page.title}, :class => 'icon icon-move') if @content.current_version? %>
Eric Davis
Refactor: use :id instead of :page when linking to Wiki Pages...
r4182 <%= link_to_if_authorized(l(:button_delete), {:action => 'destroy', :id => @page.title}, :method => :delete, :confirm => l(:text_are_you_sure), :class => 'icon icon-del') %>
Jean-Philippe Lang
Adds #current_version? method to wiki content....
r7852 <%= link_to_if_authorized(l(:button_rollback), {:action => 'edit', :id => @page.title, :version => @content.version }, :class => 'icon icon-cancel') unless @content.current_version? %>
Jean-Philippe Lang
Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes)....
r1400 <% end %>
Eric Davis
Refactor: use :id instead of :page when linking to Wiki Pages...
r4182 <%= link_to_if_authorized(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Adds breadcrumb on all wiki page views....
r6062 <%= wiki_page_breadcrumb(@page) %>
Jean-Philippe Lang
Wiki page hierarchy (#528). Parent page can be assigned on Rename screen....
r1689
Jean-Philippe Lang
Adds #current_version? method to wiki content....
r7852 <% unless @content.current_version? %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/wiki/show.rhtml....
r6297 <p>
Toshi MARUYAMA
replace &#171; and &#187; at app/views/wiki/show.rhtml to hexadecimal UTF-8 strings (#4796)....
r6294 <%= link_to(("\xc2\xab " + l(:label_previous)),
Toshi MARUYAMA
Replaced french word "anonyme" at app/views/wiki/show.rhtml with label_user_anonymous (#8994)....
r6291 :action => 'show', :id => @page.title, :project_id => @page.project,
:version => (@content.version - 1)) + " - " if @content.version > 1 %>
Jean-Philippe Lang
Added wiki diff....
r580 <%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %>
Toshi MARUYAMA
Rails3: view: html_safe for wiki/show.html.erb...
r8333 <%= '('.html_safe + link_to(l(:label_diff), :controller => 'wiki', :action => 'diff',
Toshi MARUYAMA
Replaced french word "anonyme" at app/views/wiki/show.rhtml with label_user_anonymous (#8994)....
r6291 :id => @page.title, :project_id => @page.project,
Toshi MARUYAMA
Rails3: view: html_safe for wiki/show.html.erb...
r8333 :version => @content.version) + ')'.html_safe if @content.version > 1 %> -
Toshi MARUYAMA
replace &#171; and &#187; at app/views/wiki/show.rhtml to hexadecimal UTF-8 strings (#4796)....
r6294 <%= link_to((l(:label_next) + " \xc2\xbb"), :action => 'show',
Toshi MARUYAMA
Replaced french word "anonyme" at app/views/wiki/show.rhtml with label_user_anonymous (#8994)....
r6291 :id => @page.title, :project_id => @page.project,
:version => (@content.version + 1)) + " - " if @content.version < @page.content.version %>
Eric Davis
Refactor: convert WikiController to a REST resource...
r4189 <%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <br />
Toshi MARUYAMA
Replaced french word "anonyme" at app/views/wiki/show.rhtml with label_user_anonymous (#8994)....
r6291 <em><%= @content.author ? link_to_user(@content.author) : l(:label_user_anonymous)
%>, <%= format_time(@content.updated_on) %> </em><br />
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <%=h @content.comments %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </p>
<hr />
<% end %>
Jean-Philippe Lang
A wiki page can now be attached to each version....
r561 <%= render(:partial => "wiki/content", :locals => {:content => @content}) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
AttachmentsController now handles attachments deletion....
r2114 <%= link_to_attachments @page %>
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538
Jean-Philippe Lang
Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes)....
r1400 <% if @editable && authorize_for('wiki', 'add_attachment') %>
Jean-Philippe Lang
Hide 'New file' link and form for printing (#2949)....
r2506 <div id="wiki_add_attachment">
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <p><%= link_to l(:label_attachment_new), {}, :onclick => "Element.show('add_attachment_form'); Element.hide(this); Element.scrollTo('add_attachment_form'); return false;",
:id => 'attach_files_link' %></p>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({:controller => 'wiki', :action => 'add_attachment',
:project_id => @project, :id => @page.title},
:multipart => true, :id => "add_attachment_form",
:style => "display:none;") do %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <div class="box">
<p><%= render :partial => 'attachments/form' %></p>
</div>
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <%= submit_tag l(:button_add) %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <%= link_to l(:button_cancel), {}, :onclick => "Element.hide('add_attachment_form'); Element.show('attach_files_link'); return false;" %>
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <% end %>
Jean-Philippe Lang
Hide 'New file' link and form for printing (#2949)....
r2506 </div>
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <% end %>
Jean-Philippe Lang
Added code highlighting support in wiki, using this syntax:...
r699
Jean-Philippe Lang
Adds an helper to render other formats download links....
r2331 <% other_formats_links do |f| %>
Jean-Philippe Lang
Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission (#9682)....
r7851 <%= f.link_to 'PDF', :url => {:id => @page.title, :version => params[:version]} %>
<%= f.link_to 'HTML', :url => {:id => @page.title, :version => params[:version]} %>
<%= f.link_to 'TXT', :url => {:id => @page.title, :version => params[:version]} %>
Jean-Philippe Lang
Adds a permission for exporting wiki pages....
r3257 <% end if User.current.allowed_to?(:export_wiki_pages, @project) %>
Jean-Philippe Lang
Fixed 'export to' links positioning on wiki page....
r1010
Jean-Philippe Lang
Added code highlighting support in wiki, using this syntax:...
r699 <% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>
Jean-Philippe Lang
Removed @html_title assignments in controllers....
r704
Jean-Philippe Lang
Application layout refactored....
r736 <% content_for :sidebar do %>
<%= render :partial => 'sidebar' %>
<% end %>
Etienne Massip
Remove unecessary page title HTML escaping from views (#9252)....
r7445 <% html_title @page.pretty_title %>