diff --git a/assets/icons/timemaster.svg b/assets/icons/timemaster.svg new file mode 100644 index 0000000..9aabb1c --- /dev/null +++ b/assets/icons/timemaster.svg @@ -0,0 +1,14 @@ + + + + diff --git a/manifest.json b/manifest.json index 670515d..3c7e1c7 100644 --- a/manifest.json +++ b/manifest.json @@ -63,6 +63,19 @@ "Tooltip": "Shows open pull requests assigned to you across all repositories", "UUID": "dev.mars3142.ulanzideck.collection.giteapr" }, + { + "Name": "Timemaster", + "Icon": "assets/icons/timemaster.svg", + "PropertyInspectorPath": "property-inspector/timemaster/inspector.html", + "States": [ + { + "Name": "Default", + "Image": "assets/icons/timemaster.svg" + } + ], + "Tooltip": "Shows working hours and time account from Timemaster", + "UUID": "dev.mars3142.ulanzideck.collection.timemaster" + }, { "Name": "Model Railway", "Icon": "assets/icons/railway.png", diff --git a/plugin/app.html b/plugin/app.html index e43768e..5fbda98 100644 --- a/plugin/app.html +++ b/plugin/app.html @@ -19,6 +19,7 @@ + diff --git a/plugin/app.js b/plugin/app.js index 9119b6b..488b33b 100644 --- a/plugin/app.js +++ b/plugin/app.js @@ -26,6 +26,8 @@ $UD.onAdd(jsn => { ACTION_CACHES[context] = new RailwayAction($UD, context); } else if (name === 'stream') { ACTION_CACHES[context] = new StreamAction($UD, context); + } else if (name === 'timemaster') { + ACTION_CACHES[context] = new TimemasterAction($UD, context); } }