2012-12-20 09:42:13 -05:00
|
|
|
- if params[:status_only]
|
|
|
|
- if @issue.valid?
|
|
|
|
:plain
|
|
|
|
$("##{dom_id(@issue)}").fadeOut();
|
2013-12-17 09:39:39 -05:00
|
|
|
- elsif params[:issue_context]
|
2013-12-24 04:45:42 -05:00
|
|
|
$('.issue-box .context').html("#{escape_javascript(render partial: 'issue_context', locals: { issue: @issue })}");
|
|
|
|
$('.issue-box .context').effect('highlight');
|
2013-12-17 09:39:39 -05:00
|
|
|
$('.chosen').chosen();
|
2013-12-30 17:38:53 -05:00
|
|
|
$('.edit-issue.inline-update input[type="submit"]').gl-hide();
|
2013-12-17 09:39:39 -05:00
|
|
|
- if @issue.milestone
|
|
|
|
$('.milestone-nav-link').replaceWith("#{escape_javascript(link_to "| #{@issue.milestone.title}", project_milestone_path(@issue.project, @issue.milestone), :class => 'milestone-nav-link')}")
|
|
|
|
- else
|
|
|
|
$('.milestone-nav-link').html('')
|