Skip to content
Snippets Groups Projects
Commit f66478eb authored by Miguel Cabeça's avatar Miguel Cabeça
Browse files

Name should not be configurable. It's brand name!

parent f83c1b65
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,7 +11,7 @@
.navbar.navbar-fixed-top.navbar-ci
.navbar-inner
.container-fluid
= link_to GitlabCi::Name, root_path, class: "brand"
= link_to 'GitLab CI', root_path, class: "brand"
%ul.nav
- if current_user
%li
Loading
Loading
@@ -38,7 +38,7 @@
.right
.padded
%p.light
= GitlabCi::Name
GitLab CI
%span= GitlabCi::Version
%small= GitlabCi::Revision
 
module GitlabCi
Name = "GitLab CI"
Version = File.read(Rails.root.join("VERSION"))
Revision = `git log --pretty=format:'%h' -n 1`
end
Loading
Loading
@@ -86,7 +86,7 @@ class Runner
@process.environment['RUBYOPT'] = ''
 
@process.environment['CI_SERVER'] = 'yes'
@process.environment['CI_SERVER_NAME'] = GitlabCi::Name
@process.environment['CI_SERVER_NAME'] = 'GitLab CI'
@process.environment['CI_SERVER_VERSION'] = GitlabCi::Version
@process.environment['CI_SERVER_REVISION'] = GitlabCi::Revision
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment