• Jacopo's avatar
    Hides Close MR button on merged MR · e2056f08
    Jacopo authored
    When a Merge request is merged, shows only the Report abuse menu item
    in the dropdown menu instead of showing the close_reopen_report toggle
    with an unusable Close button.
    The Report abuse is still hidden when the author of the Merge request
    is the current_user.
    
    Hides the Reopen button on a closed and locked issue when the
    issue.author is not the current_user
    e2056f08
close_reopen_report_toggle_spec.rb 5.1 KB