多个地方的Issue编辑跳至详情页面问题
This commit is contained in:
parent
6434644975
commit
0c8447ac83
|
@ -17,7 +17,7 @@
|
||||||
<li class="homepagePostSettingIcon">
|
<li class="homepagePostSettingIcon">
|
||||||
<ul class="homepagePostSettiongText">
|
<ul class="homepagePostSettiongText">
|
||||||
<li>
|
<li>
|
||||||
<%= link_to l(:button_edit), issue_path(activity.id, :edit => 'true'), :class => 'postOptionLink', :accesskey => accesskey(:edit) if activity.editable? && User.current.allowed_to?(:edit_issues, activity.project) %>
|
<%= link_to l(:button_edit), edit_issue_path(activity.id), :class => 'postOptionLink', :accesskey => accesskey(:edit) if activity.editable? && User.current.allowed_to?(:edit_issues, activity.project) %>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<% if !defined?(project_id) && !defined?(user_id) %>
|
<% if !defined?(project_id) && !defined?(user_id) %>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<li class="homepagePostSettingIcon">
|
<li class="homepagePostSettingIcon">
|
||||||
<ul class="homepagePostSettiongText">
|
<ul class="homepagePostSettiongText">
|
||||||
<li>
|
<li>
|
||||||
<%= link_to l(:button_edit), issue_path(activity.id, :edit => 'true'), :class => 'postOptionLink', :accesskey => accesskey(:edit) if activity.editable? && User.current.allowed_to?(:edit_issues, activity.project) %>
|
<%= link_to l(:button_edit), edit_issue_path(activity.id), :class => 'postOptionLink', :accesskey => accesskey(:edit) if activity.editable? && User.current.allowed_to?(:edit_issues, activity.project) %>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<% if !defined?(project_id) && !defined?(user_id) %>
|
<% if !defined?(project_id) && !defined?(user_id) %>
|
||||||
|
|
Loading…
Reference in New Issue