From b0039e35d0d7cf0099a5c740e84c3651f8fef88e Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 8 Jun 2018 14:38:44 +0200 Subject: [PATCH 1/3] add missing translation key for kanban --- customize.dist/translations/messages.js | 1 + 1 file changed, 1 insertion(+) diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index b61ae3d23..b11419e2b 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -678,6 +678,7 @@ define(function () { out.main_slidePad = 'Markdown Presentation'; out.main_pollPad = 'Poll or Schedule'; out.main_whiteboardPad = 'Whiteboard'; + out.main_kanbanPad = 'Kanban'; out.main_localPads = 'Local Pads'; out.main_yourCryptDrive = 'Your CryptDrive'; out.main_footerText = "With CryptPad, you can make quick collaborative documents for taking notes and writing down ideas together."; From 5ae7cdb1e64d1b12023d6cb07b3178fa6d7a1e68 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 8 Jun 2018 14:56:11 +0200 Subject: [PATCH 2/3] add missing key for french translation --- customize.dist/translations/messages.fr.js | 1 + 1 file changed, 1 insertion(+) diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index b11bc2e17..aa113f1cf 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -673,6 +673,7 @@ define(function () { out.main_slidePad = 'Présentation Markdown'; out.main_pollPad = 'Sondage ou Planning'; out.main_whiteboardPad = 'Tableau blanc'; + out.main_kanbanPad = 'Kanban'; out.main_localPads = 'Pads Locaux'; out.main_yourCryptDrive = 'Votre CryptDrive'; out.main_footerText = "Avec CryptPad, vous pouvez créer des documents collaboratifs rapidement pour prendre des notes à plusieurs."; From 756681211b0fcc631ad0477246959fe4d71eb6e7 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 8 Jun 2018 17:06:50 +0200 Subject: [PATCH 3/3] update home page icons, allow for customization --- customize.dist/pages.js | 16 ++++++++-------- www/common/application_config_internal.js | 3 ++- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 1cd3d5f7c..3a8a8c18e 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -585,13 +585,13 @@ define([ var showingMore = false; var icons = [ - [ 'pad', '/pad/', Msg.main_richTextPad, 'fa-file-word-o' ], - [ 'code', '/code/', Msg.main_codePad, 'fa-file-code-o' ], - [ 'slide', '/slide/', Msg.main_slidePad, 'fa-file-powerpoint-o' ], - [ 'poll', '/poll/', Msg.main_pollPad, 'fa-calendar' ], - [ 'kanban', '/kanban/', Msg.main_kanbanPad, 'fa-calendar' ], - [ 'whiteboard', '/whiteboard/', Msg.main_whiteboardPad, 'fa-paint-brush' ], - [ 'recent', '/drive/', Msg.main_localPads, 'fa-hdd-o' ] + [ 'pad', '/pad/', Msg.main_richTextPad, 'pad' ], + [ 'code', '/code/', Msg.main_codePad, 'code' ], + [ 'slide', '/slide/', Msg.main_slidePad, 'slide' ], + [ 'poll', '/poll/', Msg.main_pollPad, 'poll' ], + [ 'kanban', '/kanban/', Msg.main_kanbanPad, 'kanban' ], + [ 'whiteboard', '/whiteboard/', Msg.main_whiteboardPad, 'whiteboard' ], + [ 'recent', '/drive/', Msg.main_localPads, 'drive' ] ].filter(function (x) { return isAvailableType(x[1]); }) @@ -601,7 +601,7 @@ define([ return h('a', [ { href: x[1] }, h(s, [ - h('i.fa.' + x[3]), + h('i.fa.' + AppConfig.applicationsIcon[x[3]]), h('div.pad-button-text', [ h('h4', x[2]) ]) ]) ]); diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index 0ab300721..ec97ac39c 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -81,7 +81,8 @@ define(function() { whiteboard: 'fa-paint-brush', todo: 'fa-tasks', contacts: 'fa-users', - kanban: 'fa-list-alt', + kanban: 'fa-columns', + drive: 'fa-hdd-o', }; // Ability to create owned pads and expiring pads through a new pad creation screen.