From f9bc9add55799fe330329009746fea8124b9cc41 Mon Sep 17 00:00:00 2001 From: skandrigi Date: Sat, 23 Nov 2024 23:46:17 -0600 Subject: [PATCH 1/3] fix templates using wrong variable names --- hiss/templates/application/emails/approved.html | 4 ++-- hiss/templates/application/emails/rejected.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hiss/templates/application/emails/approved.html b/hiss/templates/application/emails/approved.html index 8da1eaec..65dd468a 100644 --- a/hiss/templates/application/emails/approved.html +++ b/hiss/templates/application/emails/approved.html @@ -45,7 +45,7 @@

margin-bottom: 20px; " > - You have been accepted to {{event_name}} {{event_year}}! We were impressed by your application and we’re excited to see you + You have been accepted to {{EVENT_NAME}} {{EVENT_YEAR}}! We were impressed by your application and we’re excited to see you September 28-29, 2024.

@@ -122,7 +122,7 @@

- The {{ organizer_name }} Team + The {{ ORGANIZER_NAME }} Team diff --git a/hiss/templates/application/emails/rejected.html b/hiss/templates/application/emails/rejected.html index 3911f45c..600b255c 100644 --- a/hiss/templates/application/emails/rejected.html +++ b/hiss/templates/application/emails/rejected.html @@ -22,7 +22,7 @@

Dear {{ first_n font-weight: normal; color: #777777; margin-bottom: 20px;"> - Thank you so much for applying to {{ event_name }} {{ event_year }}. We really appreciate the time you took to share your + Thank you so much for applying to {{ EVENT_NAME }} {{ EVENT_YEAR }}. We really appreciate the time you took to share your interests and skills with us. Unfortunately, due to space limitations of the MSC, we are only able to accept a limited number hackers, and we are unable to grant you an acceptance. If you're still interested in hacking with us, our spring hackathon, TAMUhack, has a bigger capacity and more awesome prizes to win! We hope to see you there!

@@ -64,7 +64,7 @@

Dear {{ first_n - The {{ organizer_name }} Team + The {{ ORGANIZER_NAME }} Team From 69eb78c4ba9f76c812eba41139bb4059158a90f0 Mon Sep 17 00:00:00 2001 From: skandrigi Date: Sat, 23 Nov 2024 23:54:52 -0600 Subject: [PATCH 2/3] resolve small font error --- hiss/static/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hiss/static/style.css b/hiss/static/style.css index fe8b3a6c..80edb3bc 100644 --- a/hiss/static/style.css +++ b/hiss/static/style.css @@ -1,3 +1,5 @@ +@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'); + html, body { overflow-x: hidden; } @@ -725,8 +727,6 @@ button { color: white; } -@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'); - .errorlist > li { color: #721c24; font-size: 14px; From 69c5cbb60fcb98eb39ab26f81d3342db65f3fd5d Mon Sep 17 00:00:00 2001 From: skandrigi Date: Sun, 24 Nov 2024 00:11:51 -0600 Subject: [PATCH 3/3] fix more template variable errors --- hiss/templates/400.html | 2 +- hiss/templates/403.html | 2 +- hiss/templates/404.html | 2 +- hiss/templates/500.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hiss/templates/400.html b/hiss/templates/400.html index 11c530e9..0f9eda64 100644 --- a/hiss/templates/400.html +++ b/hiss/templates/400.html @@ -6,7 +6,7 @@

400

Bad Request

Whoops! The request you made isn't valid.

-

If you think this is a mistake, email us at {{ organizer_email }}

+

If you think this is a mistake, email us at {{ ORGANIZER_EMAIL }}

diff --git a/hiss/templates/403.html b/hiss/templates/403.html index fef716ae..ab3ffbef 100644 --- a/hiss/templates/403.html +++ b/hiss/templates/403.html @@ -6,7 +6,7 @@

403

Page Forbidden

Whoops! It looks like you do not have access to this page.

-

If you think this is a mistake, email us at {{ organizer_email }}

+

If you think this is a mistake, email us at {{ ORGANIZER_EMAIL }}

diff --git a/hiss/templates/404.html b/hiss/templates/404.html index 34d929cd..e45a4b48 100644 --- a/hiss/templates/404.html +++ b/hiss/templates/404.html @@ -6,7 +6,7 @@

404

Page Not Found

Whoops! It looks like the page you are looking for doesn't exist.

-

If you think this is a mistake, email us at {{ organizer_email }}

+

If you think this is a mistake, email us at {{ ORGANIZER_EMAIL }}

diff --git a/hiss/templates/500.html b/hiss/templates/500.html index 98d74379..56f90f39 100644 --- a/hiss/templates/500.html +++ b/hiss/templates/500.html @@ -6,7 +6,7 @@

500

Internal Server Error

Whoops! There's an issue on our end. We're working to fix it!

-

If you think this is a mistake, email us at {{ organizer_email }}

+

If you think this is a mistake, email us at {{ ORGANIZER_EMAIL }}