summaryrefslogtreecommitdiff
path: root/loleaflet
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-03-27 20:40:09 +0200
committerAndras Timar <andras.timar@collabora.com>2017-03-27 20:40:09 +0200
commitb5a7d436285690c606b65dc1cb65067fe5191076 (patch)
treef2743ae267b95bc04307234d424038f847daea41 /loleaflet
parent43aea3642b77fb75b04ed6cb490168361e5f55a5 (diff)
Revert "Use hub link for git log"
This reverts commit 460da71ce23639b275e95f53fd2a5c8a1ddc2901. hub link does not work for me
Diffstat (limited to 'loleaflet')
-rw-r--r--loleaflet/src/admin/AdminSocketSettings.js4
-rw-r--r--loleaflet/src/core/Socket.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/loleaflet/src/admin/AdminSocketSettings.js b/loleaflet/src/admin/AdminSocketSettings.js
index 537d1487e..5a7ec2076 100644
--- a/loleaflet/src/admin/AdminSocketSettings.js
+++ b/loleaflet/src/admin/AdminSocketSettings.js
@@ -70,7 +70,7 @@ var AdminSocketSettings = AdminSocketBase.extend({
var loolwsdVersionObj = JSON.parse(textMsg.substring(textMsg.indexOf('{')));
var h = loolwsdVersionObj.Hash;
if (parseInt(h,16).toString(16) === h.toLowerCase().replace(/^0+/, '')) {
- h = '<a target="_blank" href="https://hub.libreoffice.org/git-online/' + h + '">' + h + '</a>';
+ h = '<a target="_blank" href="https://gerrit.libreoffice.org/gitweb?p=online.git;a=log;h=' + h + '">' + h + '</a>';
$('#loolwsd-version').html(loolwsdVersionObj.Version + ' (git hash: ' + h + ')');
}
else {
@@ -81,7 +81,7 @@ var AdminSocketSettings = AdminSocketBase.extend({
var lokitVersionObj = JSON.parse(textMsg.substring(textMsg.indexOf('{')));
var h = lokitVersionObj.BuildId.substring(0, 7);
if (parseInt(h,16).toString(16) === h.toLowerCase().replace(/^0+/, '')) {
- h = '<a target="_blank" href="https://hub.libreoffice.org/git-core/' + h + '">' + h + '</a>';
+ h = '<a target="_blank" href="https://gerrit.libreoffice.org/gitweb?p=core.git;a=log;h=' + h + '">' + h + '</a>';
}
$('#lokit-version').html(lokitVersionObj.ProductName + ' ' +
lokitVersionObj.ProductVersion + lokitVersionObj.ProductExtension.replace('.10.','-') +
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 787a487e6..ea8f15e98 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -176,7 +176,7 @@ L.Socket = L.Class.extend({
var loolwsdVersionObj = JSON.parse(textMsg.substring(textMsg.indexOf('{')));
var h = loolwsdVersionObj.Hash;
if (parseInt(h,16).toString(16) === h.toLowerCase().replace(/^0+/, '')) {
- h = '<a target="_blank" href="https://hub.libreoffice.org/git-online/' + h + '">' + h + '</a>';
+ h = '<a target="_blank" href="https://gerrit.libreoffice.org/gitweb?p=online.git;a=log;h=' + h + '">' + h + '</a>';
$('#loolwsd-version').html(loolwsdVersionObj.Version + ' (git hash: ' + h + ')');
}
else {
@@ -192,7 +192,7 @@ L.Socket = L.Class.extend({
var lokitVersionObj = JSON.parse(textMsg.substring(textMsg.indexOf('{')));
var h = lokitVersionObj.BuildId.substring(0, 7);
if (parseInt(h,16).toString(16) === h.toLowerCase().replace(/^0+/, '')) {
- h = '<a target="_blank" href="https://hub.libreoffice.org/git-core/' + h + '">' + h + '</a>';
+ h = '<a target="_blank" href="https://gerrit.libreoffice.org/gitweb?p=core.git;a=log;h=' + h + '">' + h + '</a>';
}
$('#lokit-version').html(lokitVersionObj.ProductName + ' ' +
lokitVersionObj.ProductVersion + lokitVersionObj.ProductExtension.replace('.10.','-') +