refs #5237 Added greuge notify
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2023-03-01 10:11:22 +01:00
parent 85b1ca4a02
commit e231b0e12b
4 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html v-bind="$props">
<head>
<meta name="viewport" content="width=device-width">
<meta name="format-detection" content="telephone=no">
<title>{{ $t('subject') }}</title>
</head>
<body>
<h1>{{ $t('title') }} {{name}}</h1>
<p>{{ $t('ticketId') }} <a :href='url'>{{ticketId}}</a></p>
<p>{{ $t('amount') }} {{amount}}</p>
<p>{{ $t('description') }} {{description}}</p>
</body>
</html>

View File

@ -0,0 +1,21 @@
module.exports = {
name: 'greuge-wrong',
props: {
ticketId: {
type: [Number],
required: false
},
clientId: {
type: [Number],
required: true
},
description: {
type: [String],
required: true
},
amount: {
type: [Number],
required: true
}
},
};

View File

@ -0,0 +1,5 @@
subject: A wrong greuge has been created
title: A wrong greuge has been created for the client
ticketId: The ticket is
amount: The amount is
description: The description is

View File

@ -0,0 +1,5 @@
subject: Se ha creado una gruge anormal
title: Se ha creado una gruge anormal para el cliente
ticketId: El ticket es
amount: El importe es
description: La descripción es