summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-07-01 00:35:24 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-07-01 00:35:24 +0300
commit6a58deb53630de59fc05d2dacd272463901c42d8 (patch)
tree7675d724026cbb51ccc0934507d74dc9f55fa0e7 /config
parentad3f4922eef56dfc8074727b3abd55a4d69a8eab (diff)
downloadgitlab-ce-6a58deb53630de59fc05d2dacd272463901c42d8.tar.gz
UI changes:
* .page_title class added. Used for better page headers * improved help page * added back links for help pages * show app version & revision on help page Backend changes: * Gitab::Version && Gitlab::Revision constants
Diffstat (limited to 'config')
-rw-r--r--config/initializers/gitlab/10_app.rb4
-rw-r--r--config/initializers/gitlab/20_grit_ext.rb (renamed from config/initializers/gitlabhq/20_grit_ext.rb)0
-rw-r--r--config/initializers/gitlab/30_resque_queues.rb (renamed from config/initializers/gitlabhq/30_resque_queues.rb)0
3 files changed, 4 insertions, 0 deletions
diff --git a/config/initializers/gitlab/10_app.rb b/config/initializers/gitlab/10_app.rb
new file mode 100644
index 00000000000..f6314ff07d0
--- /dev/null
+++ b/config/initializers/gitlab/10_app.rb
@@ -0,0 +1,4 @@
+module Gitlab
+ Version = File.read(Rails.root.join("VERSION"))
+ Revision = `git log --pretty=format:'%h' -n 1`
+end
diff --git a/config/initializers/gitlabhq/20_grit_ext.rb b/config/initializers/gitlab/20_grit_ext.rb
index ad8ea1058f0..ad8ea1058f0 100644
--- a/config/initializers/gitlabhq/20_grit_ext.rb
+++ b/config/initializers/gitlab/20_grit_ext.rb
diff --git a/config/initializers/gitlabhq/30_resque_queues.rb b/config/initializers/gitlab/30_resque_queues.rb
index 5b0087ab025..5b0087ab025 100644
--- a/config/initializers/gitlabhq/30_resque_queues.rb
+++ b/config/initializers/gitlab/30_resque_queues.rb