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

_auxiliary_viewer.html.haml « blob « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9749afdc580263c51985f9d04e0325f568d8bd81 (plain)
1
2
3
4
5
- blob = local_assigns.fetch(:blob)
- auxiliary_viewer = blob.auxiliary_viewer
- if auxiliary_viewer && auxiliary_viewer.render_error.nil? && auxiliary_viewer.visible_to?(current_user)
  .well-segment.blob-auxiliary-viewer
    = render 'projects/blob/viewer', viewer: auxiliary_viewer