diff options
author | Josep Llaneras <pepmanuel@gmail.com> | 2016-10-12 01:22:09 +0200 |
---|---|---|
committer | Josep Llaneras <pepmanuel@gmail.com> | 2016-11-11 20:59:54 +0100 |
commit | 0803a350b09d2c80a7ff1c2d1e17712989b7a0c2 (patch) | |
tree | 42a6fb389abb4417c1dbacae1caf0a1b16a92ef1 /config | |
parent | 0e1e42885a792145dafc6aa28165d069b1cb5c03 (diff) | |
download | gitlab-ce-0803a350b09d2c80a7ff1c2d1e17712989b7a0c2.tar.gz |
Issue #13823: random message when all Todos are Done
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/1_settings.rb | 1 | ||||
-rw-r--r-- | config/no_todos_messages.yml | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 9fec2ad6bf7..9ddd1554811 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -215,6 +215,7 @@ Settings.gitlab.default_projects_features['visibility_level'] = Settings.send( Settings.gitlab['domain_whitelist'] ||= [] Settings.gitlab['import_sources'] ||= %w[github bitbucket gitlab google_code fogbugz git gitlab_project] Settings.gitlab['trusted_proxies'] ||= [] +Settings.gitlab['no_todos_messages'] ||= YAML.load_file(Rails.root.join('config', 'no_todos_messages.yml')) # # CI diff --git a/config/no_todos_messages.yml b/config/no_todos_messages.yml new file mode 100644 index 00000000000..92182d100e8 --- /dev/null +++ b/config/no_todos_messages.yml @@ -0,0 +1,16 @@ +# When the Todos list on the user's dashboard is empty, one of the messages below shows up randomly. +# +# If you come up with a fun one, please feel free to contribute it to GitLab! +# https://about.gitlab.com/contributing/ + +--- +- + message: "Good job! Looks like you don't have any todos left." +- + message: "You're all done!" +- + message: "Coffee really tastes better without any todos left." + author: "Josep Llaneras" +- + message: "Isn't an empty To Do list beautiful?" + author: "Josep Llaneras" |