Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CyclingUK] Optimised template and file structure #4774

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions templates/web/cyclinguk/email_sent.html

This file was deleted.

17 changes: 0 additions & 17 deletions templates/web/cyclinguk/errors/generic.html

This file was deleted.

18 changes: 0 additions & 18 deletions templates/web/cyclinguk/errors/page_error_404_not_found.html

This file was deleted.

9 changes: 0 additions & 9 deletions templates/web/cyclinguk/tokens/abuse.html

This file was deleted.

6 changes: 3 additions & 3 deletions templates/web/cyclinguk/tokens/confirm_alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ <h1>[% loc('Email alert created') %]</h1>
[% ELSE %]
<h1>[% loc('Text alert created') %]</h1>
[% END %]

[% ELSIF confirm_type == 'unsubscribe' %]
[% IF alert_by != 'phone' %]
<h1>[% loc('Email alert deleted') %]</h1>
[% ELSE %]
<h1>[% loc('Text alert deleted') %]</h1>
[% END %]
<p class="lead">[% loc('Inbox zero, here we come!') %]</p>

[% END %]

</div>
</div>

Expand Down
13 changes: 0 additions & 13 deletions templates/web/cyclinguk/tokens/error.html

This file was deleted.

14 changes: 8 additions & 6 deletions web/cobrands/cyclinguk/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ h1 {
.bg-cyclinguk {
background-color: $primary;
margin-bottom: 1.125rem;

.confirmation-header {
color: $white;
p {
color: $white;
}
}
}

.text-orange{
Expand Down Expand Up @@ -366,13 +373,8 @@ body.mappage {
.confirmation-header {
padding: 140px 1rem 2rem;
background-size: 80px;
background-position: center top 3em;
background-position: center top 140px;
background-image: url('/cobrands/cyclinguk/images/icons/confirmation.png');
color: $white;
background-color: $primary;
p {
color: $white;
}

&.confirmation-header--inbox {
background-image: url('/cobrands/cyclinguk/images/icons/inbox-in-circle.png');
Expand Down
2 changes: 1 addition & 1 deletion web/cobrands/cyclinguk/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ body.mappage {
padding: 5rem 0 5rem 132px;
box-sizing: border-box;
background-size: 100px;
background-position: left 0 top 3em;
background-position: left 0 top 5rem;
max-width: $container-max-width;
width: 100%;
margin: 0 auto;
Expand Down