Added a 'New issue' link in the main menu (accesskey 7).
The drop-down lists to add an issue on the project overview and the issue list are removed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1081 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
44ac1a0deb
commit
16e9ffce0d
9 files changed
+45
-28
No files matched your search
@@ -188,12 +188,4 @@ module ProjectsHelper
|
||||
gc.draw(imgl)
|
||||
imgl
|
||||
end if Object.const_defined?(:Magick)
|
||||
|
||||
def new_issue_selector
|
||||
trackers = @project.trackers
|
||||
# can't use form tag inside helper
|
||||
content_tag('form',
|
||||
select_tag('tracker_id', '<option></option>' + options_from_collection_for_select(trackers, 'id', 'name'), :onchange => "if (this.value != '') {this.form.submit()}"),
|
||||
:action => url_for(:controller => 'issues', :action => 'new', :project_id => @project), :method => 'get')
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user