diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-07-20 16:35:27 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-07-20 16:35:27 +0300 |
commit | f8bedb755f098486503534be872d0851e0bbd061 (patch) | |
tree | a8a2ba861f2e430e8d2bceb2df27f8654031ef0e /app/views/projects | |
parent | 470e526a2053a9a1b726380d851679d30fe46ea7 (diff) | |
parent | 3239860f0aea2ff7721f36b4c424e6e8957c51c7 (diff) |
Merge branch '23705-add-single-file-download-in-repo' into 'master'
Resolve "Ability to download single file"
Closes #23705
See merge request gitlab-org/gitlab-ce!20480
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/artifacts/file.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/blob/_header.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/artifacts/file.html.haml b/app/views/projects/artifacts/file.html.haml index aac7a1870df..f7174d6b2c6 100644 --- a/app/views/projects/artifacts/file.html.haml +++ b/app/views/projects/artifacts/file.html.haml @@ -27,6 +27,6 @@ .btn-group{ role: "group" }< = copy_blob_source_button(blob) - = open_raw_blob_button(blob) + = download_blob_button(blob) = render 'projects/blob/content', blob: blob diff --git a/app/views/projects/blob/_header.html.haml b/app/views/projects/blob/_header.html.haml index 0a0b3ce1d6f..84ccd816d80 100644 --- a/app/views/projects/blob/_header.html.haml +++ b/app/views/projects/blob/_header.html.haml @@ -8,8 +8,8 @@ .btn-group{ role: "group" }< = copy_blob_source_button(blob) unless blame = open_raw_blob_button(blob) + = download_blob_button(blob) = view_on_environment_button(@commit.sha, @path, @environment) if @environment - .btn-group{ role: "group" }< = render_if_exists 'projects/blob/header_file_locks_link' = edit_blob_button |