diff --git a/src/locales/en.json b/src/locales/en.json index 0d7c07ca114b94452c029c31aad58b53e5016e6d..0b5a8a02ee417108cca4fb879ae795daa626797d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -297,6 +297,9 @@ "circle": { "in": "in" }, + "joboffer": { + "new": "in job-offers" + }, "private": { "private": "in private" } diff --git a/src/locales/es.json b/src/locales/es.json index a3e260fb4518ce1e5008dd869673f1a779929dff..f5f723384abe18f250a5fa8da1ac27fbcb9bb7a2 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -297,6 +297,9 @@ "circle": { "in": "dentro" }, + "joboffer": { + "new": "in oferta de trabajo" + }, "private": { "private": "en privado" } diff --git a/src/locales/fr.json b/src/locales/fr.json index eeb820554c8db9e79bf63073fd563cd5e491fb57..c18cae42701b613c9974e1f5d2b1e6839ef39568 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -295,6 +295,9 @@ "circle": { "in": "dans" }, + "joboffer": { + "new": "dans offres de mission" + }, "private": { "private": "en privé" } diff --git a/src/views/partials/notifications.pug b/src/views/partials/notifications.pug index b17336d834a5b237a250c1afc1c3ab0059d460f1..715c290e3492b4a823da4ebe4c051160ab926384 100644 --- a/src/views/partials/notifications.pug +++ b/src/views/partials/notifications.pug @@ -4,3 +4,4 @@ include notifications/message-circle.pug include notifications/message-project.pug include notifications/message-private.pug include notifications/message-poll.pug +include notifications/message-joboffer.pug diff --git a/src/views/partials/notifications/message-joboffer.pug b/src/views/partials/notifications/message-joboffer.pug new file mode 100644 index 0000000000000000000000000000000000000000..2f4a148ac1d6e5050a4d005f8d8a09ebd067c7f9 --- /dev/null +++ b/src/views/partials/notifications/message-joboffer.pug @@ -0,0 +1,8 @@ +solid-notifications-template(data-rdf-type='hd:joboffer') + template + .solid-notification__avatar + | ${await author['account.picture'] ? `<img src="${await author['account.picture']}" style="max-width:100%; max-height: 100%;" />` : `<img src="/images/alien.webp" />`} + .solid-notification__content + span.solid-notification__title ${await author.name} + span.solid-notification__title__side(data-trans='notification.joboffer.new') + p.solid-notification__summary ${await object.title}