Skip to content

Use render_if_exists to hide EE specific codes

Lin Jen-Shin requested to merge 5949-render_optional into master

What does this MR do?

Use render_if_exists to hide EE specific codes

Are there points in the code the reviewer needs to double check?

CE and doc at: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19041

Why was this MR needed?

Minimize CE/EE difference

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests added for this feature/bug
  • Conform by the code review guidelines
    • Has been reviewed by a Frontend maintainer
    • Has been reviewed by a Backend maintainer
  • EE specific content should be in the top level /ee folder
  • End-to-end tests pass (package-qa manual pipeline job)

What are the relevant issue numbers?

Closes #5949 (closed)

Edited by Lin Jen-Shin

Merge request reports