summaryrefslogtreecommitdiff
path: root/app/helpers/appearances_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-11 17:16:44 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-11 17:16:44 +0300
commit8c15fd0014047b2bad478af412d3d8eb54845080 (patch)
treec098a98c552c42e111dd6132bcd18c03de383ab9 /app/helpers/appearances_helper.rb
parent849985a62dfee0ea32ddd89be1cca78a9ad369a1 (diff)
downloadgitlab-ce-8c15fd0014047b2bad478af412d3d8eb54845080.tar.gz
Rename brand helper
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers/appearances_helper.rb')
-rw-r--r--app/helpers/appearances_helper.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/helpers/appearances_helper.rb b/app/helpers/appearances_helper.rb
new file mode 100644
index 00000000000..b6a76f9aa65
--- /dev/null
+++ b/app/helpers/appearances_helper.rb
@@ -0,0 +1,23 @@
+module AppearancesHelper
+ def brand_title
+ 'GitLab Community Edition'
+ end
+
+ def brand_image
+ image_tag 'brand_logo.png'
+ end
+
+ def brand_text
+ default_text =<<eos
+### GitLab is open source software to collaborate on code.
+
+Manage git repositories with fine grained access controls that keep your code secure.
+Perform code reviews and enhance collaboration with merge requests.
+Each project can also have an issue tracker and a wiki.
+
+Used by more than 100,000 organizations, GitLab is the most popular solution to manage git repositories on-premises.
+Read more about GitLab at [about.gitlab.com](https://about.gitlab.com/).
+eos
+ markdown default_text
+ end
+end