mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 23:59:59 +01:00
Merge branch 'stable'
This commit is contained in:
@@ -21,7 +21,7 @@ const settings = (function() {
|
||||
|
||||
dialogEl.dialog({
|
||||
modal: true,
|
||||
width: 600
|
||||
width: 800
|
||||
});
|
||||
|
||||
tabsEl.tabs();
|
||||
@@ -146,6 +146,21 @@ settings.addModule((function () {
|
||||
return false;
|
||||
});
|
||||
|
||||
return {
|
||||
settingsLoaded
|
||||
};
|
||||
})());
|
||||
|
||||
settings.addModule((function () {
|
||||
const buildDateEl = $("#build-date");
|
||||
const buildRevisionEl = $("#build-revision");
|
||||
|
||||
function settingsLoaded(settings) {
|
||||
buildDateEl.html(settings['buildDate']);
|
||||
buildRevisionEl.html(settings['buildRevision']);
|
||||
buildRevisionEl.attr('href', 'https://github.com/zadam/trilium/commit/' + settings['buildRevision']);
|
||||
}
|
||||
|
||||
return {
|
||||
settingsLoaded
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user