##// END OF EJS Templates
Merged r2979 and r2980 from trunk....
Jean-Philippe Lang -
r2884:c12b96a89fca
parent child
Show More
@@ -43,6 +43,10 class IssuesController < ApplicationController
43 43 helper :timelog
44 44 include Redmine::Export::PDF
45 45
46 verify :method => :post,
47 :only => :destroy,
48 :render => { :nothing => true, :status => :method_not_allowed }
49
46 50 def index
47 51 retrieve_query
48 52 sort_init 'id', 'desc'
@@ -14,7 +14,7
14 14 <td><%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %></td>
15 15 <td align="center"><%= format_date(version.effective_date) %></td>
16 16 <td><%=h version.description %></td>
17 <td><%= link_to(version.wiki_page_title, :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %></td>
17 <td><%= link_to(h(version.wiki_page_title), :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %></td>
18 18 <td align="center"><%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %></td>
19 19 <td align="center"><%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %></td>
20 20 </tr>
@@ -1,4 +1,4
1 <h2><%=l(:label_role)%>: <%= @role.name %></h2>
1 <h2><%=l(:label_role)%>: <%=h @role.name %></h2>
2 2
3 3 <% labelled_tabular_form_for :role, @role, :url => { :action => 'edit' }, :html => {:id => 'role_form'} do |f| %>
4 4 <%= render :partial => 'form', :locals => { :f => f } %>
General Comments 0
You need to be logged in to leave comments. Login now