Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update.js.haml « issues « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1d38662bff8f18237bdbab4f5d1d76e635849852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- if params[:status_only]
  - if @issue.valid?
    :plain
      $("##{dom_id(@issue)}").fadeOut();
- elsif params[:issue_context]
  $('.context').html("#{escape_javascript(render partial: 'issue_context', locals: { issue: @issue })}");
  $('.context').effect('highlight');
  - if @issue.milestone
    $('.milestone-nav-link').replaceWith("<span class='milestone-nav-link'>| <span class='light'>Milestone</span> #{escape_javascript(link_to @issue.milestone.title, namespace_project_milestone_path(@issue.project.namespace, @issue.project, @issue.milestone))}</span>")
  - else
    $('.milestone-nav-link').html('')


$('select.select2').select2({width: 'resolve', dropdownAutoWidth: true})
$('.edit-issue.inline-update input[type="submit"]').hide();
new UsersSelect()
new Issue();