.help-block The maximum file size allowed is 200KB.
%p.light
-if@project.avatar?
-if@project.avatar_in_git
%hr
Project avatar in repository: #{@project.avatar_in_git}
=link_to'Remove avatar',project_avatar_path(@project),data: {confirm: "Project avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-sm remove-avatar"
%a.choose-btn.btn.js-choose-project-avatar-button
=f.submit'Save changes',class: "btn btn-save"
Browse file...
%span.file_name.prepend-left-default.js-avatar-filename No file chosen
.help-block The maximum file size allowed is 200KB.
-if@project.avatar?
%hr
=link_to'Remove avatar',project_avatar_path(@project),data: {confirm: "Project avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-sm remove-avatar"
=f.submit'Save changes',class: "btn btn-save"
%section.settings.sharing-permissions
%section.settings.sharing-permissions
.settings-header
.settings-header
...
@@ -71,7 +72,7 @@
...
@@ -71,7 +72,7 @@
Enable or disable certain project features and choose access levels.
Enable or disable certain project features and choose access levels.
Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.
Runs a number of housekeeping tasks within the current repository, such as compressing file revisions and removing unreachable objects.
Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.
data: {confirm: "Are you sure that you want to archive this project?\nAn archived project cannot be committed to."},
method: :post,class: "btn btn-warning"
.sub-section.rename-respository
%h4.warning-title
Rename repository
%p
Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.
data: {confirm: "Are you sure that you want to archive this project?\nAn archived project cannot be committed to."},
method: :post,class: "btn btn-warning"
.sub-section.rename-respository
%h4.warning-title
Rename repository
%p
Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.