Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 91: | Line 91: | ||
const FN_REPORT = 'Report'; | const FN_REPORT = 'Report'; | ||
const FN_COLLAB = 'Collaboration'; | const FN_COLLAB = 'Collaboration'; | ||
const FN_INTEROP = 'Interoperability'; | |||
const fnImages = {}; | const fnImages = {}; | ||
Line 99: | Line 100: | ||
fnImages[FN_REPORT] = '/index.php/Special:FilePath/File:Func_report.svg'; | fnImages[FN_REPORT] = '/index.php/Special:FilePath/File:Func_report.svg'; | ||
fnImages[FN_COLLAB] = '/index.php/Special:FilePath/File:Func_collaboration.svg'; | fnImages[FN_COLLAB] = '/index.php/Special:FilePath/File:Func_collaboration.svg'; | ||
fnImages[FN_INTEROP] = '/index.php/Special:FilePath/File:Func_interoperability.svg'; | |||
const sourcesLayout = [ | const sourcesLayout = [ | ||
Line 176: | Line 178: | ||
'Inbox workflow', | 'Inbox workflow', | ||
'Approval workflows' | 'Approval workflows' | ||
]; | |||
const interoperabilityFunctions = [ | |||
'Data export', | |||
'Third party tool integration', | |||
'API support' | |||
]; | ]; | ||
Line 188: | Line 195: | ||
metricsFunctions.map(func => '|?' + func).join('') + | metricsFunctions.map(func => '|?' + func).join('') + | ||
reportFunctions.map(func => '|?' + func).join('') + | reportFunctions.map(func => '|?' + func).join('') + | ||
collaborationFunctions.map(func => '|?' + func).join('') | collaborationFunctions.map(func => '|?' + func).join('') + | ||
interoperabilityFunctions.map(func => '|?' + func).join('') | |||
; | ; | ||
Line 214: | Line 222: | ||
if (hasFunction(dctResult, reportFunctions)) dct.functions.push(FN_REPORT); | if (hasFunction(dctResult, reportFunctions)) dct.functions.push(FN_REPORT); | ||
if (hasFunction(dctResult, collaborationFunctions)) dct.functions.push(FN_COLLAB); | if (hasFunction(dctResult, collaborationFunctions)) dct.functions.push(FN_COLLAB); | ||
if (hasFunction(dctResult, interoperabilityFunctions)) dct.functions.push(FN_INTEROP); | |||
return dct; | return dct; |
Revision as of 15:48, 15 June 2022
Development verstion of the DCT List.
Not ready for production!