##// END OF EJS Templates
Option for long text custom fields to be displayed under the description field (#21705)....
Option for long text custom fields to be displayed under the description field (#21705). Based on patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r15648:62d45de8349f
r15869:b40d66f39fa8
Show More
show.html.erb
80 lines | 4.1 KiB | text/plain | TextLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
Removes test code introduced in r15994....
r15648 <% if User.current.allowed_to?(:edit_wiki_pages, @project) %>
<%= link_to l(:label_wiki_page_new), new_project_wiki_page_path(@project), :remote => true, :class => 'icon icon-add' %>
<% end %>
Jean-Philippe Lang
Replaces project jump select with custom dropdown (#23310)....
r15612 <% if @editable %>
<% if @content.current_version? %>
Jean-Philippe Lang
Removes test code introduced in r15994....
r15648 <%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :id => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
<%= watcher_link(@page, User.current) %>
Jean-Philippe Lang
Don't show watch, lock/unlock, delete links on previous wiki page versions....
r10474 <%= 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? %>
<%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :id => @page.title}, :class => 'icon icon-move') %>
<%= link_to_if_authorized(l(:button_delete), {:action => 'destroy', :id => @page.title}, :method => :delete, :data => {:confirm => l(:text_are_you_sure)}, :class => 'icon icon-del') %>
<% else %>
<%= link_to_if_authorized(l(:button_rollback), {:action => 'edit', :id => @page.title, :version => @content.version }, :class => 'icon icon-cancel') %>
<% end %>
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? %>
Jean-Philippe Lang
Adds some links for wiki history navigation....
r11991 <%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)],
[l(:label_history), history_project_wiki_page_path(@page.project, @page.title)],
"#{l(:label_version)} #{@content.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,
Jean-Philippe Lang
Handle deleted wiki page versions (#10852)....
r10473 :version => @content.previous.version) + " - " if @content.previous %>
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,
Jean-Philippe Lang
Handle deleted wiki page versions (#10852)....
r10473 :version => @content.version) + ')'.html_safe if @content.previous %> -
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,
Jean-Philippe Lang
Handle deleted wiki page versions (#10852)....
r10473 :version => @content.next.version) + " - " if @content.next %>
Jean-Philippe Lang
Wiki page versions routes cleanup....
r10476 <%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project, :version => nil) %>
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
Removed unneeded #h calls in views....
r13661 <%= @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
Hide wiki attachments by default and add thumbnails (#22941)....
r15222 <fieldset class="collapsible collapsed">
<legend onclick="toggleFieldset(this);"><%= l(:label_attachment_plural) %></legend>
<div style="display: none;">
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
Hide wiki attachments by default and add thumbnails (#22941)....
r15222 <%= link_to_attachments @page, :thumbnails => true %>
<% if @editable && authorize_for('wiki', 'add_attachment') %>
<div id="wiki_add_attachment">
<%= form_tag({:controller => 'wiki', :action => 'add_attachment',
:project_id => @project, :id => @page.title},
:multipart => true, :id => "add_attachment_form") do %>
<div class="box">
<p><%= render :partial => 'attachments/form' %></p>
</div>
<%= submit_tag l(:button_add) %>
<% end %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 </div>
Jean-Philippe Lang
Hide wiki attachments by default and add thumbnails (#22941)....
r15222 <% end %>
Jean-Philippe Lang
Hide 'New file' link and form for printing (#2949)....
r2506 </div>
Jean-Philippe Lang
Hide wiki attachments by default and add thumbnails (#22941)....
r15222 </fieldset>
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
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 %>