From 4d58ed906873cfe363ff22176908ac8a6d15c324 Mon Sep 17 00:00:00 2001 From: hichri-louay <124356992+hichri-louay@users.noreply.github.com> Date: Tue, 19 Sep 2023 14:31:17 +0100 Subject: [PATCH] wip create campaign notif (#535) --- .../notifications/notification.component.css | 19 +++++- .../notifications/notification.component.html | 19 ++++-- .../notifications/notification.component.ts | 64 +++++++++++++++++-- 3 files changed, 90 insertions(+), 12 deletions(-) diff --git a/src/app/notifications/notification.component.css b/src/app/notifications/notification.component.css index 4de0c7f39..bb24987af 100755 --- a/src/app/notifications/notification.component.css +++ b/src/app/notifications/notification.component.css @@ -587,12 +587,22 @@ input[type='date']::-webkit-calendar-picker-indicator { .description_createCampaign{ margin-top: 1em; - margin-left: 5.7em; + margin-left: 1.25em; font-weight: 400; line-height: 18.2px; font-size: 14px; width: 37em; - padding-bottom: 1em; + +} + +.description_campaign_details{ + + margin-left: 1.25em; + font-weight: 400; + line-height: 18.2px; + font-size: 14px; + width: 37em; + } /* will be uncommented */ .pic_avatar_notif { @@ -618,6 +628,11 @@ input[type='date']::-webkit-calendar-picker-indicator { width: 80%; } + .description_campaign_details{ + margin: auto; + width: 80%; + } + .link_container{ border-radius: 0px; border-top-left-radius: 30px 30px !important; diff --git a/src/app/notifications/notification.component.html b/src/app/notifications/notification.component.html index 119e691e3..76a9a69f0 100755 --- a/src/app/notifications/notification.component.html +++ b/src/app/notifications/notification.component.html @@ -629,14 +629,14 @@ [src]=" getCampaignLogo(i.label.cmp_update) " - width="30px" - style="top: 0.5em !important; float: left" + + style="top: 0.5em !important; float: left; width: 2.25em !important; height: 2.25em ! important;" />
@@ -648,16 +648,25 @@ font-family: 'poppins'; " > - {{ i.label.cmp_update.title }} + {{ i.label.cmp_update.title | titlecase }}

- {{ getCampaignStartDate(i.label.cmp_update) }} + {{ getCampaignStartDate(i.label.cmp_update) }}.

{{ i.label.cmp_update.resume }}

+

+ + {{ i.label.views || 0}} + {{ + (getRetrieveBudget(i.label.cmp_update) + + | number) || '--.--' + }} {{ getTokenSymbol(i.label.cmp_update.token)}} +