From 26888b62acc963c99f385111cba1169d97410abb Mon Sep 17 00:00:00 2001
From: Bob Harper
Date: Fri, 18 Aug 2017 15:05:04 +0100
Subject: [PATCH 01/18] fallback link where no id guidance
---
prefix_finder/frontend/templates/list.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/prefix_finder/frontend/templates/list.html b/prefix_finder/frontend/templates/list.html
index d042cf3..ae60c14 100644
--- a/prefix_finder/frontend/templates/list.html
+++ b/prefix_finder/frontend/templates/list.html
@@ -52,7 +52,11 @@ Description
From 7780d17628a4c0778fd18b30afaf4998ed61c84f Mon Sep 17 00:00:00 2001
From: Bob Harper
Date: Sat, 19 Aug 2017 18:37:10 +0100
Subject: [PATCH 02/18] > @media width
---
prefix_finder/frontend/static/css/main.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prefix_finder/frontend/static/css/main.css b/prefix_finder/frontend/static/css/main.css
index 280b713..efc7f1c 100644
--- a/prefix_finder/frontend/static/css/main.css
+++ b/prefix_finder/frontend/static/css/main.css
@@ -1137,7 +1137,7 @@ fieldset {
display: flex;
flex-direction: column;
}
-@media (min-width: 40em) {
+@media (min-width: 100em) {
.homepage {
height: 100vh;
}
From 3b3155e94f8d7095a10d5bb5c0751114dd258c1c Mon Sep 17 00:00:00 2001
From: Bob Harper
Date: Sun, 20 Aug 2017 15:59:16 +0100
Subject: [PATCH 03/18] Use country code as abbreviation of full name
---
prefix_finder/frontend/templates/list.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/prefix_finder/frontend/templates/list.html b/prefix_finder/frontend/templates/list.html
index ae60c14..a1bbfbc 100644
--- a/prefix_finder/frontend/templates/list.html
+++ b/prefix_finder/frontend/templates/list.html
@@ -20,7 +20,7 @@ {{ org_list.name.en }} ({{ org_list.code }})
@@ -174,9 +174,9 @@ Sectors
From 5e2524224572a11dc7413a4c34b80d85bcf0ab8e Mon Sep 17 00:00:00 2001
From: BobHarper1
Date: Sat, 4 Nov 2017 16:04:46 +0000
Subject: [PATCH 09/18] link handbook from footer
---
prefix_finder/frontend/templates/footer.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/prefix_finder/frontend/templates/footer.html b/prefix_finder/frontend/templates/footer.html
index dfae8e1..82f5564 100644
--- a/prefix_finder/frontend/templates/footer.html
+++ b/prefix_finder/frontend/templates/footer.html
@@ -6,6 +6,7 @@
{% trans "The code for this site is available on Github" %}: {%trans "org-ids" %}.
{% trans "Licence" %}: {% trans "AGPLv3" %}.
{% trans "Report/View issues" %}: {% trans "org-id issues" %}.
+ {% trans "To contribute lists" %}: {% trans "contributors handbook" %}.
{% trans "Terms & Conditions" %}.
{% blocktrans %}Running version {% endblocktrans %}{{ request.tag }}.
From 139e8242754d4ed3357a06564fcd39d767052028 Mon Sep 17 00:00:00 2001
From: BobHarper1
Date: Sat, 4 Nov 2017 16:07:41 +0000
Subject: [PATCH 10/18] if no suggested or possible results, ask use to
contribute, link handbk
---
prefix_finder/frontend/templates/results.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/prefix_finder/frontend/templates/results.html b/prefix_finder/frontend/templates/results.html
index 9e938ef..52bd785 100644
--- a/prefix_finder/frontend/templates/results.html
+++ b/prefix_finder/frontend/templates/results.html
@@ -71,8 +71,10 @@ Sectors
Possible Lists
{% if all_results.recommended %}
It's possible you will find the organization(s) you are looking for in one of the lists below…
- {% else %}
+ {% elif all_result.suggested %}
No alternative results.
+ {% else %}
+ No alternative results. Think there should be a list here? You can make a request, read the contributors handbook for details on how to request or propose a new list.
{% endif %}
From 101d78fc14c80f6a7cb781c5093521de94a950ce Mon Sep 17 00:00:00 2001
From: BobHarper1
Date: Sat, 4 Nov 2017 16:08:35 +0000
Subject: [PATCH 11/18] Add link to contributors handbook below list
change/pull request pointer
---
prefix_finder/frontend/templates/list.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/prefix_finder/frontend/templates/list.html b/prefix_finder/frontend/templates/list.html
index bafcd73..8dbd8b6 100644
--- a/prefix_finder/frontend/templates/list.html
+++ b/prefix_finder/frontend/templates/list.html
@@ -58,6 +58,7 @@ To find identifiers
You can suggest an edit to our information about this list by posting an issue or submitting a pull request.
+
The contributors handbook details how to propose changes to an existing list, and how you can request or propose a new list.
From dfb2fe67495f0eba157e9f15000b6255794fc586 Mon Sep 17 00:00:00 2001
From: Bob Harper
Date: Thu, 7 Dec 2017 12:53:05 +0000
Subject: [PATCH 12/18] need to migrate
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 7b5b30f..b63a6cc 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,7 @@ Steps to installation:
* Create a virtual environment (note this application uses python3)
* Activate the virtual environment
* Install dependencies
+* Apply migrations
* Run the development server
```
@@ -63,6 +64,7 @@ cd org-ids
virtualenv .ve --python=/usr/bin/python3
source .ve/bin/activate
pip install -r requirements_dev.txt
+python manage.py migrate
python manage.py runserver
```
From 9264f5e8eef96871f796d9e4b810bda02be92e2e Mon Sep 17 00:00:00 2001
From: Bob Harper
Date: Fri, 8 Dec 2017 17:16:45 +0000
Subject: [PATCH 13/18] use examples identifiers in sidebar
---
prefix_finder/frontend/templates/list.html | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/prefix_finder/frontend/templates/list.html b/prefix_finder/frontend/templates/list.html
index bafcd73..e6ec86b 100644
--- a/prefix_finder/frontend/templates/list.html
+++ b/prefix_finder/frontend/templates/list.html
@@ -20,13 +20,25 @@ {{ org_list.name.en }} ({{ org_list.code }})
From 1865f4ebe34564c2a4bf43876220b62f1915daba Mon Sep 17 00:00:00 2001
From: Bob Harper
Date: Wed, 13 Dec 2017 11:50:37 +0000
Subject: [PATCH 14/18] titles for guidancec2
---
prefix_finder/frontend/templates/list.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/prefix_finder/frontend/templates/list.html b/prefix_finder/frontend/templates/list.html
index 474f360..335bcda 100644
--- a/prefix_finder/frontend/templates/list.html
+++ b/prefix_finder/frontend/templates/list.html
@@ -51,10 +51,11 @@ Description
@@ -174,7 +174,7 @@ Sectors
From ebe9cae2668f2af30d42f035f25bd61a57227704 Mon Sep 17 00:00:00 2001
From: Ben Webb
Date: Thu, 18 Jan 2018 12:57:55 +0000
Subject: [PATCH 18/18] Tidy up template for list coverage
---
prefix_finder/frontend/templates/list.html | 2 +-
prefix_finder/frontend/views.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/prefix_finder/frontend/templates/list.html b/prefix_finder/frontend/templates/list.html
index fb293ac..53381fd 100644
--- a/prefix_finder/frontend/templates/list.html
+++ b/prefix_finder/frontend/templates/list.html
@@ -52,7 +52,7 @@ Description