|
|
|
@ -4,11 +4,7 @@
|
|
|
|
|
<div class="problem_top">
|
|
|
|
|
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>
|
|
|
|
|
<span>
|
|
|
|
|
<% if User.current.member_of?(@project) %>
|
|
|
|
|
<%= link_to l(:label_issue_new), {:controller => 'issues', :action => 'new', :copy_from => nil}, :param => :project_id, :caption => :label_issue_new,
|
|
|
|
|
:html => {:accesskey => Redmine::AccessKeys.key_for(:new_issue)}, :class => 'icon icon-add' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= link_to l(:label_query), '#', :class => 'icon icon-help',
|
|
|
|
|
<%= link_to l(:label_query), '#',
|
|
|
|
|
:onclick => '$("#custom_query").slideToggle(400); ' if true || User.current.logged? %>
|
|
|
|
|
</span>
|
|
|
|
|
<% end %>
|
|
|
|
|