[refs #194] removed reduntant check
This commit is contained in:
parent
6359acd917
commit
bce8618c30
|
@ -1,5 +1,5 @@
|
||||||
-content_for :sidebar do
|
-content_for :sidebar do
|
||||||
- can_manage = can?(:update, @issue) && @issue.persisted? || can?(:create, @project.issues.new) && @issue.new_record?
|
- can_manage = can?(:update, @issue) && @issue.persisted? || @issue.new_record?
|
||||||
- if @issue.persisted?
|
- if @issue.persisted?
|
||||||
.bordered.nopadding
|
.bordered.nopadding
|
||||||
%h3=t('activerecord.attributes.issue.status')
|
%h3=t('activerecord.attributes.issue.status')
|
||||||
|
|
Loading…
Reference in New Issue