diff --git a/app/assets/stylesheets/custom/tenants.scss b/app/assets/stylesheets/custom/tenants.scss index 95de280dd57..0ce5d62d203 100644 --- a/app/assets/stylesheets/custom/tenants.scss +++ b/app/assets/stylesheets/custom/tenants.scss @@ -51,9 +51,9 @@ --main-header: var(--brand); --brand-contrast: #FFFFFF; --main-header-contrast: #FFFFFF; - // Import shared styles - @import "cosla_shared"; - @include shared-styles; + // Import shared styles + @import "cosla_shared"; + @include shared-styles; } .tenant-flotta { @@ -67,23 +67,23 @@ --main-header: var(--brand); --brand-contrast: #FFFFFF; --main-header-contrast: #FFFFFF; - // Import shared styles - @import "cosla_shared"; - @include shared-styles; + // Import shared styles + @import "cosla_shared"; + @include shared-styles; } .tenant-test { - --anchor-color: #008585; - --anchor-color-hover: #74a892; - --brand: #c7522a; - --brand-secondary: #e5c185; - --button-background-hover: #fbf2c4; - --button-background-hover-contrast: #{$black}; - --footer: #e6e6e6; - --main-header: #74a892; - --top-links: var(--main-header); - --subnavigation: #c7522a; - } + --anchor-color: #008585; + --anchor-color-hover: #74a892; + --brand: #c7522a; + --brand-secondary: #e5c185; + --button-background-hover: #fbf2c4; + --button-background-hover-contrast: #{$black}; + --footer: #e6e6e6; + --main-header: #74a892; + --top-links: var(--main-header); + --subnavigation: #c7522a; +} .tenant-arb { --brand: #10069F; @@ -92,56 +92,56 @@ --footer: #023C19; --footer-contrast: #FFFFFF; --main-header-contrast: #FFFFFF; - --top-links: var(--brand-secondary); + --top-links: var(--brand-secondary); --top-links-contrast: #FFFFFF; @import "cosla_shared"; - @include shared-styles; + @include shared-styles; } - .tenant-inverc { +.tenant-inverc { --brand: #36808c; --brand-secondary: #75a5ad; --brand-contrast: #FFFFFF; --footer: #d7e5e7; --main-header-contrast: #FFFFFF; - --top-links: #75a5ad ; + --top-links: #75a5ad; --top-links-contrast: #FFFFFF; - @import "cosla_shared"; - @include shared-styles; + @import "cosla_shared"; + @include shared-styles; } .tenant-edi { - --brand: #6D3465; + --brand: #6D3465; --brand-secondary: #492445; --brand-contrast: #FFFFFF; --footer: #D0E0F4; --main-header-contrast: #FFFFFF; - --top-links: var(--brand-secondary); + --top-links: var(--brand-secondary); --top-links-contrast: #FFFFFF; @import "cosla_shared"; - @include shared-styles; + @include shared-styles; } .tenant-aberdeen { - --main-header: #EF5D9E; - --brand: #45D3A1; - --brand-secondary: #6CBEEC; - --brand-contrast: #FF; - --footer: #eee6db; - --main-header-contrast: #FFFFFF; - --top-links: #eee6db; - --top-links-contrast: #FF; + --main-header: #EF5D9E; + --brand: #45D3A1; + --brand-secondary: #6CBEEC; + --brand-contrast: #FF; + --footer: #eee6db; + --main-header-contrast: #FFFFFF; + --top-links: #eee6db; + --top-links-contrast: #FF; } .tenant-sac { - --brand: #005293; + --brand: #005293; --brand-secondary: #002F59; --footer: #CEDBEA; --brand-contrast: #FFFFFF; --main-header-contrast: #FFFFFF; --top-links: var(--brand-secondary); --top-links-contrast: #FFFFFF; - @import "cosla_shared"; + @import "cosla_shared"; @include shared-styles; } @@ -152,10 +152,10 @@ --footer: #023C19; --footer-contrast: #FFFFFF; --main-header-contrast: #FFFFFF; - --top-links: var(--brand-secondary); + --top-links: var(--brand-secondary); --top-links-contrast: #FFFFFF; @import "cosla_shared"; - @include shared-styles; + @include shared-styles; } .tenant-highland { @@ -169,9 +169,9 @@ --main-header: var(--brand); --brand-contrast: #FFFFFF; --main-header-contrast: #FFFFFF; - // Import shared styles - @import "cosla_shared"; - @include shared-styles; + // Import shared styles + @import "cosla_shared"; + @include shared-styles; } .tenant-hlc { @@ -185,7 +185,7 @@ --main-header: var(--brand); --brand-contrast: #FFFFFF; --main-header-contrast: #FFFFFF; - // Import shared styles - @import "cosla_shared"; - @include shared-styles; + // Import shared styles + @import "cosla_shared"; + @include shared-styles; } diff --git a/app/views/admin/postcodes/_form.html.erb b/app/views/admin/postcodes/_form.html.erb index 9fd5e61c34f..6577d12feb4 100644 --- a/app/views/admin/postcodes/_form.html.erb +++ b/app/views/admin/postcodes/_form.html.erb @@ -12,12 +12,12 @@
| <%= t("admin.postcodes.postcode.postcode") %> | -<%= t("admin.postcodes.postcode.ward") %> | -<%= t("admin.postcodes.postcode.geozone_id") %> | -
|---|---|---|
| <%= t("admin.postcodes.postcode.postcode") %> | +<%= t("admin.postcodes.postcode.ward") %> | +<%= t("admin.postcodes.postcode.geozone_id") %> | +
| <%= t("admin.postcodes.index.no_record") %> | +||
| <%= t("admin.postcodes.index.no_record") %> | + <% rejected_entry.each do |key, value| %> +<%= value %> | + <% end %>|
| <%= value %> | - <% end %> -
| <%= t("admin.postcodes.postcode.postcode") %> | -<%= t("admin.postcodes.postcode.ward") %> | -<%= t("admin.postcodes.postcode.geozone_id") %> | -
|---|---|---|
| <%= t("admin.postcodes.postcode.postcode") %> | +<%= t("admin.postcodes.postcode.ward") %> | +<%= t("admin.postcodes.postcode.geozone_id") %> | +
| - <%= t("budgets.results.investment_title") %> - | +||||||
|---|---|---|---|---|---|---|
| + <%= t("budgets.results.investment_title") %> + | ++ <%= t("budgets.results.ballot_lines_count") %> + | + <% if @budget.show_money? %>- <%= t("budgets.results.ballot_lines_count") %> + <%= t("budgets.results.price") %> | - <% if @budget.show_money? %> -- <%= t("budgets.results.price") %> + <% if results_type == :compatible %> + |
+ <%= t("budgets.results.amount_available") %> + <%= @budget.formatted_amount(heading_price) %> |
- <% if results_type == :compatible %>
-
- <%= t("budgets.results.amount_available") %> - <%= @budget.formatted_amount(heading_price) %> - |
- <% end %>
<% end %>
- |
| - <% if investment.winner? %> + <% amount_available = heading_price %> + <% investments.each do |investment| %> + | ||||||
| + <% if investment.winner? %> <%= t("budgets.results.accepted") %> - <% else %> + <% else %> <%= t("budgets.results.discarded") %> - <% end %> - <%= link_to investment.title, budget_investment_path(@budget, investment) %> - | -- <%= investment.ballot_lines_count %> - | - <% if @budget.show_money? %> -- <% if @budget.part_fund && investment.winner && amount_available - investment.price < 0 %> - <%= @budget.formatted_amount(investment.price) %>(Part Fund) - <% else %> - <%= @budget.formatted_amount(investment.price) %> - <% end %> - | - <% if results_type == :compatible %> - <% if @budget.part_fund && investment.winner && amount_available - investment.price < 0 %> - <% amount_after_investment = amount_available - investment.price %> -- <%= @budget.formatted_amount(amount_after_investment) %> - | - <% else %> -- <%= @budget.formatted_amount(amount_available - investment.price) %> - <% amount_available -= investment.price if investment.winner? %> - | - <% end %> + <% end %> + <%= link_to investment.title, budget_investment_path(@budget, investment) %> + ++ <%= investment.ballot_lines_count %> + | + <% if @budget.show_money? %> ++ <% if @budget.part_fund && investment.winner && amount_available - investment.price < 0 %> + <%= @budget.formatted_amount(investment.price) %>(Part Fund) + <% else %> + <%= @budget.formatted_amount(investment.price) %> <% end %> - <% end %> - | + <%= @budget.formatted_amount(amount_after_investment) %> + | + <% else %> ++ <%= @budget.formatted_amount(amount_available - investment.price) %> + <% amount_available -= investment.price if investment.winner? %> + | + <% end %> + <% end %> + <% end %> + + <% end %>
<%= t("budgets.select_headings.budget_name") %>: <%= @budget.name %>
<%= form_with url: new_budget_investment_path(@budget.id, proposal_id: @proposal.id), method: :get, local: true do |form| %> -