BigW Consortium Gitlab

update.js.haml 472 Bytes
Newer Older
1 2 3 4
- if params[:status_only]
  - if @issue.valid?
    :plain
      $("##{dom_id(@issue)}").fadeOut();
5
- elsif params[:issue_context]
6
  $('.context').effect('highlight');
7
  - if @issue.milestone
Drew Blessing committed
8
    $('.milestone-nav-link').replaceWith("<span class='milestone-nav-link'>| <span class='light'>Milestone</span> #{escape_javascript(link_to @issue.milestone.title, project_milestone_path(@issue.project, @issue.milestone))}</span>")
9 10
  - else
    $('.milestone-nav-link').html('')