diff --git a/app/src/components/globals/YunoListGroupItem.vue b/app/src/components/globals/YunoListGroupItem.vue new file mode 100644 index 00000000..31d95281 --- /dev/null +++ b/app/src/components/globals/YunoListGroupItem.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/app/src/helpers/yunohostArguments.js b/app/src/helpers/yunohostArguments.js index c0e52613..74ad655d 100644 --- a/app/src/helpers/yunohostArguments.js +++ b/app/src/helpers/yunohostArguments.js @@ -18,6 +18,15 @@ const NO_VALUE_FIELDS = [ 'ButtonItem' ] +export const DEFAULT_STATUS_ICON = { + [null]: null, + danger: 'times', + error: 'times', + info: 'info', + success: 'check', + warning: 'warning' +} + /** * Tries to find a translation corresponding to the user's locale/fallback locale in a * Yunohost argument or simply return the string if it's not an object literal.