Adding an edit link, which currently only goes to show, but will eventually become an IPE

pull/6827/head
Gregor Schmidt 14 years ago
parent 9962367d57
commit c57bbfa121
  1. 1
      lib/redmine_backlogs/issue_actions.rb

@ -6,6 +6,7 @@ class RedmineBacklogs::IssueActions < ChiliProject::Nissue::View
def render(t)
css_class = "watcher_link_#{@issue.id}"
content_tag(:div, [
t.link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'show', :id => @issue }, :class => 'icon icon-edit'),
t.watcher_link(@issue, User.current, :class => css_class, :replace => ".#{css_class}")
], :class => 'contextual')
end

Loading…
Cancel
Save