Commit 2b8b03dd authored by Tomas Vik's avatar Tomas Vik Committed by Eric Eastwood

Update version badge at the top to point to GitLab repo

parent 531f5af2
......@@ -43,8 +43,8 @@ function getBranch() {
return branch;
}
function getGithubLink() {
if (commit) return 'https://github.com/troupe/gitter-webapp/commit/' + commit;
function getGitlabLink() {
if (commit) return 'https://gitlab.com/gitlab-org/gitter/webapp/commit/' + commit;
return '';
}
......@@ -54,5 +54,5 @@ module.exports = {
getAssetTag: getAssetTag,
getCommit: getCommit,
getBranch: getBranch,
getGithubLink: getGithubLink
getGitlabLink: getGitlabLink
};
......@@ -18,11 +18,11 @@ switch (nconf.get('NODE_ENV')) {
case 'beta':
var branch = appVersion.getBranch();
stagingText = branch ? branch.split('/').pop() : 'BETA';
stagingLink = appVersion.getGithubLink();
stagingLink = appVersion.getGitlabLink();
break;
case 'dev':
stagingText = 'DEV';
stagingLink = 'https://github.com/troupe/gitter-webapp/tree/develop';
stagingLink = 'https://gitlab.com/gitlab-org/gitter/webapp';
break;
}
......
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