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

diff_files.html.haml « commit « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7287d10a10988f51f26429eb7df90409217e3990 (plain)
1
2
3
4
5
- diff_files = conditionally_paginate_diff_files(diffs, paginate: true, page: params[:page], per: Projects::CommitController::COMMIT_DIFFS_PER_PAGE)

= render partial: 'projects/diffs/file', collection: diff_files, as: :diff_file, locals: { project: diffs.project, environment: environment, diff_page_context: 'is-commit' }

= paginate(diff_files, theme: "gitlab", params: { action: :show })