Commit 34a55c90 authored by Patricio Cano's avatar Patricio Cano

Added better help description to the size limit fields.

parent 15703c3f
...@@ -44,7 +44,7 @@ module GroupsHelper ...@@ -44,7 +44,7 @@ module GroupsHelper
def size_limit_message_for_group(group) def size_limit_message_for_group(group)
show_lfs = group.lfs_enabled? ? 'and their respective LFS files' : '' show_lfs = group.lfs_enabled? ? 'and their respective LFS files' : ''
"Repositories within this group #{show_lfs} will be restricted to this maximum size. Can be overridden inside each project. 0 for unlimited." "Repositories within this group #{show_lfs} will be restricted to this maximum size. Can be overridden inside each project. 0 for unlimited. Leave empty to inherit the global value."
end end
def group_lfs_status(group) def group_lfs_status(group)
......
...@@ -217,7 +217,7 @@ module ProjectsHelper ...@@ -217,7 +217,7 @@ module ProjectsHelper
def size_limit_message(project) def size_limit_message(project)
show_lfs = project.lfs_enabled? ? 'including files in LFS' : '' show_lfs = project.lfs_enabled? ? 'including files in LFS' : ''
"The total size of this project's repository #{show_lfs} will be limited to this size. 0 for unlimited." "The total size of this project's repository #{show_lfs} will be limited to this size. 0 for unlimited. Leave empty to inherit the group/global value."
end end
def git_user_name def git_user_name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment