Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #893 from uktrade/release
Browse files Browse the repository at this point in the history
UAT/prod release
  • Loading branch information
Miriam Forner authored Nov 22, 2022
2 parents b243462 + 1383a6c commit 51d70d3
Show file tree
Hide file tree
Showing 29 changed files with 115 additions and 96 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
### Hotfix

### Fixed bugs
* Upgrade to django 3.2.16

- Revert django back to 2.2.28 (temporarily)
- KLS-27 - Display intro video on investment opportunity pages
### Implemented enhancements

## [3.9.2](https://github.com/uktrade/great-international-ui/releases/tag/3.9.2)
### Fixed bugs
* Upgrade to django 3.2.16

## [3.9.1](https://github.com/uktrade/great-international-ui/releases/tag/3.9.1)
### Hotfix
- GLS-435 - Remove emergency banner
Expand Down
2 changes: 1 addition & 1 deletion contact/templates/contact/base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base.html' %}
{% load static %}
{% load static from staticfiles %}

{% block head_other %}
{{ block.super }}
Expand Down
2 changes: 1 addition & 1 deletion contact/templates/contact/contact.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'contact/base.html' %}
{% load static %}
{% load static from staticfiles %}
{% load i18n %}
{% load ga360_data hero from directory_components %}

Expand Down
19 changes: 18 additions & 1 deletion core/sass/atlas/components/_images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@

.atlas-video__transcript {
max-height: 9em;
overflow: scroll;
overflow-y: scroll;
white-space: pre-line;
}

// The following three blocks set scrollbar to always appear
// The styling recreates that of the default scrollbar

.atlas-video__transcript::-webkit-scrollbar:vertical {
width: 11px;
}

.atlas-video__transcript::-webkit-scrollbar {
-webkit-appearance: none;
}

.atlas-video__transcript::-webkit-scrollbar-thumb {
border-radius: 8px;
border: 2px solid white;
background-color: rgba(0, 0, 0, .5);
}
2 changes: 1 addition & 1 deletion core/static/core/styles/atlas.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- elements-components
{% endcomment %}

{% load static %}
{% load static from staticfiles %}
{% load i18n %}
{% get_current_language_bidi as LANGUAGE_BIDI %}
{% get_current_language as LANGUAGE %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base_cms.html' %}
{% load static %}
{% load static from staticfiles %}
{% load i18n %}
{% load ga360_data add_export_elements_classes from directory_components %}
{% load breadcrumbs from directory_components %}
Expand Down
2 changes: 1 addition & 1 deletion core/templates/core/companies/base-case-study.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'core/base.html' %}

{% load static %}
{% load static from staticfiles %}
{% load thumbnail %}

{% block head_title %}Find a UK supplier - great.gov.uk{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion core/templates/core/companies/base-contact.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/companies/base.html' %}
{% load static %}
{% load staticfiles %}
{% load breadcrumbs from directory_components %}

{% block css_layout_class %}investment-support-directory-contact-page{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion core/templates/core/companies/base-profile.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/companies/base.html' %}
{% load static %}
{% load static from staticfiles %}

{% load breadcrumbs card from directory_components %}
{% load thumbnail %}
Expand Down
6 changes: 3 additions & 3 deletions core/templates/core/companies/base-search.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/companies/base.html' %}
{% load static %}
{% load static from staticfiles %}
{% load thumbnail %}
{% load ga360_data from directory_components %}

Expand Down Expand Up @@ -30,8 +30,8 @@
<div class="grid-row">
<div class="column-two-thirds">
{% if pagination.paginator.count %}
<h2 class="heading-medium margin-top-45 margin-bottom-15">{{ pagination.paginator.count }} {{pagination.paginator.count|pluralize:'result,results'}} found
{% if form.q.value %}for
<h2 class="heading-medium margin-top-45 margin-bottom-15">{{ pagination.paginator.count }} {{pagination.paginator.count|pluralize:'result,results'}} found
{% if form.q.value %}for
<mark>
{% filter force_escape %}
{{ form.q.value }}
Expand Down
2 changes: 1 addition & 1 deletion core/templates/core/companies/base-sent.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "core/companies/base.html" %}
{% load static %}
{% load static from staticfiles %}
{% load breadcrumbs success_box from directory_components %}

{% block css_layout_class %}investment-support-directory-success-page{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion core/templates/core/contact_international_triage.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base.html' %}
{% load static %}
{% load static from staticfiles %}
{% load i18n %}
{% get_current_language as LANGUAGE %}
{% load filter_by_active_language from cms_tags %}
Expand Down
2 changes: 1 addition & 1 deletion core/templates/core/contact_page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base.html' %}
{% load static %}
{% load static from staticfiles %}
{% load trans from i18n %}
{% load breadcrumbs banner from directory_components %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base_cms.html' %}
{% load static %}
{% load static from staticfiles %}
{% load add_href_target from cms_tags %}
{% load add_export_elements_classes ga360_data from directory_components %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base_cms.html' %}
{% load static %}
{% load static from staticfiles %}
{% load trans from i18n %}
{% load search_url from industry_tags %}
{% load add_export_elements_classes ga360_data from directory_components %}
Expand Down
4 changes: 2 additions & 2 deletions find_a_supplier/templates/find_a_supplier/landing_page.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'find_a_supplier/base.html' %}

{% load static %}
{% load static from staticfiles %}
{% load first_paragraph filter_by_active_language from cms_tags %}
{% load directory_components %}

Expand Down Expand Up @@ -74,7 +74,7 @@
</div>
</section>

{% comment "This does work with the new Sector setup in Atlas, but has been disabled for now" %}
{% comment "This does work with the new Sector setup in Atlas, but has been disabled for now" %}
<section id="industries-section" class="padding-bottom-60-m padding-bottom-30 background-stone-30">
<div class="container">
<div class="heading-large">
Expand Down
2 changes: 1 addition & 1 deletion find_a_supplier/templates/find_a_supplier/subscribe.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base.html' %}
{% load static %}
{% load static from staticfiles %}
{% load breadcrumbs from directory_components %}

{% block css_layout_class %}find-a-supplier-subscribe-page{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base.html' %}
{% load static %}
{% load static from staticfiles %}
{% load i18n %}

{% load add_export_elements_classes from directory_components %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/base.html' %}
{% load static %}
{% load static from staticfiles %}

{% load add_export_elements_classes from directory_components %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
{{ page.introduction|safe }}
</div>
</div>
{% if page.intro_image %}
<div class="atlas-grid__column atlas-grid__column--6-12-m">
<div class="atlas-grid__column atlas-grid__column--6-12-m atlas-m-b-m">
{% if page.intro_video %}
{% with video=page.intro_video %}
{% include 'investment_atlas/includes/video.html' %}
{% endwith %}
{% elif page.intro_image %}
<img src="{{ page.intro_image.url }}"
alt="{{ page.intro_image.alt }}"
class="atlas-image atlas-m-b-m">
</div>
{% endif %}
alt="{{ page.intro_image.alt }}"
class="atlas-image">
{% endif %}
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'investment_atlas/base_cms.html' %}
{% load static %}
{% load static from staticfiles %}
{% load i18n %}
{% load update_query_params chosen_filters from atlas_tags %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'core/companies/base.html' %}
{% load static %}
{% load static from staticfiles %}
{% load breadcrumbs ga360_data from directory_components %}

{% block css_layout_class %}investment-support-directory-home{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'core/companies/base-profile.html' %}

{% load breadcrumbs from directory_components %}
{% load static %}
{% load static from staticfiles %}

{% block breadcrumbs %}
{% url 'investment-support-directory:search' as search_url %}
Expand Down
24 changes: 12 additions & 12 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
boto3==1.17.90
dateparser==0.7.0
directory-api-client==25.1.0
directory-cms-client==12.0.0
directory-components==38.0.0
directory-forms-api-client==7.1.0
directory-healthcheck==3.0.0
directory-validators==9.2.1
directory-api-client==24.0.0
directory-cms-client==10.2.0
directory-components==37.2.2
directory-forms-api-client==5.1.0
directory-healthcheck==2.0.0
directory-validators==8.0.0
django-countries==5.5
django-environ==0.4.5
django-formtools==2.1
django-ipware==2.1.0
django-recaptcha==3.0.0
django-redis==5.2.*
django-storages==1.13.1
Django==3.2.16
django-recaptcha==2.0.5
django-redis==4.10.0
django-storages==1.7.2
Django==2.2.28
djangorestframework==3.11.2
elastic-apm==6.1.*
pir-client==1.1.0
requests[security]==2.25.1
sentry-sdk==0.13.4
sorl-thumbnail==12.9.0
sorl-thumbnail==12.5.0
urllib3>=1.24.2,<2.0.0
waitress==2.1.2
whitenoise==6.2.0
whitenoise==4.1.3
gunicorn==20.1.0
psycogreen==1.0.2
psycopg2==2.8.5
Expand Down
Loading

0 comments on commit 51d70d3

Please sign in to comment.