diff --git a/contact-us/contact-us.component.css b/contact-us/contact-us.component.css new file mode 100644 index 00000000..16bdb90c --- /dev/null +++ b/contact-us/contact-us.component.css @@ -0,0 +1,4 @@ +.uk-text-danger { + color: #b50000!important; + font-size: 12px; +} diff --git a/contact-us/contact-us.component.html b/contact-us/contact-us.component.html index 0cceb94d..0d746723 100644 --- a/contact-us/contact-us.component.html +++ b/contact-us/contact-us.component.html @@ -53,7 +53,7 @@ [class.uk-form-danger]="contactForm.get('organization').invalid && contactForm.get('organization').touched">
-
Organization Type*
+
Organization Type *
@@ -64,7 +64,7 @@
-
Subject*
+
Subject *
@@ -88,10 +88,7 @@ -
- -
-
+
diff --git a/contact-us/contact-us.component.ts b/contact-us/contact-us.component.ts index 8b263608..084a3782 100644 --- a/contact-us/contact-us.component.ts +++ b/contact-us/contact-us.component.ts @@ -7,6 +7,7 @@ import {map, startWith} from "rxjs/operators"; @Component({ selector: 'contact-us', templateUrl: './contact-us.component.html', + styleUrls: ['contact-us.component.css'] }) export class ContactUsComponent implements OnInit { diff --git a/utils/email/composer.ts b/utils/email/composer.ts index 6832e966..2e49f1f4 100644 --- a/utils/email/composer.ts +++ b/utils/email/composer.ts @@ -68,7 +68,7 @@ export class Composer { public static composeEmailForMonitor(contactForm: any, admins: any): Email { let email: Email = new Email(); - email.subject = "OpenAIRE Monitor | " + contactForm.subject; + email.subject = "OpenAIRE - Monitor"; email.body = "
" + "Name: " + contactForm.name + "
" + "Surname: " + contactForm.surname + "
" @@ -84,7 +84,7 @@ export class Composer { public static composeEmailForUsageCounts(contactForm: any, admins: any): Email { let email: Email = new Email(); - email.subject = "OpenAIRE UsageCounts"; + email.subject = "OpenAIRE - UsageCounts"; email.body = "
" + "Name: " + contactForm.name + "
" + "Email: " + contactForm.email + "
"