Mercurial > hg > soundsoftware-site
diff app/views/news/show.html.erb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | c6c2cbd0afee |
children | 433d4f72a19b |
line wrap: on
line diff
--- a/app/views/news/show.html.erb Fri Feb 24 18:36:29 2012 +0000 +++ b/app/views/news/show.html.erb Fri Feb 24 19:09:32 2012 +0000 @@ -1,11 +1,11 @@ <div class="contextual"> <%= watcher_tag(@news, User.current) %> -<%= link_to(l(:button_edit), +<%= link_to(l(:button_edit), edit_news_path(@news), :class => 'icon icon-edit', :accesskey => accesskey(:edit), :onclick => 'Element.show("edit-news"); return false;') if User.current.allowed_to?(:manage_news, @project) %> -<%= link_to(l(:button_delete), +<%= link_to(l(:button_delete), news_path(@news), :confirm => l(:text_are_you_sure), :method => :delete, @@ -20,7 +20,7 @@ :html => { :id => 'news-form', :method => :put } do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_save) %> -<%= link_to_remote l(:label_preview), +<%= link_to_remote l(:label_preview), { :url => preview_news_path(:project_id => @project), :method => 'get', :update => 'preview',