Follow-up from "Replace PhantomJS with Headless Chrome for GitLab Integration Tests"

The following discussion from gitlab-ce!12244 should be addressed:

  • @rymai started a discussion:

    This should be extracted to a helper in the future.

%section.settings.merge-requests-feature.no-animate{ class: [('expanded' if expanded), ('hidden' if @project.project_feature.send(:merge_requests_access_level) == 0)] }

https://gitlab.com/gitlab-org/gitlab-ce/blob/743451b231445bfc2ee295d8097bdcdeb1ff47ad/app/views/projects/edit.html.haml#L78

Edited Dec 06, 2017 by Eric Eastwood
Assignee Loading
Time tracking Loading