diff --git a/TODO.md b/TODO.md index d76d8bf8..799bc866 100644 --- a/TODO.md +++ b/TODO.md @@ -11,11 +11,11 @@ - Add "copy" for section headings - Add "copy" for subsection headings - Only show Bloom nofos by default -- Add a little message on the external links explanation - Default column widths for application table # DONE +- Add a little message on the external links explanation - Fix the Preview link colour in markdown editor - Contacts and support box, add padding - Shrink top and bottom padding for initial callout boxes diff --git a/bloom_nofos/bloom_nofos/static/shared.css b/bloom_nofos/bloom_nofos/static/shared.css index 1be2bf69..cd8d2652 100644 --- a/bloom_nofos/bloom_nofos/static/shared.css +++ b/bloom_nofos/bloom_nofos/static/shared.css @@ -55,6 +55,10 @@ background-color: var(--color--ihs-blue); } +.usa-table--font-size-1 { + font-size: 1rem; +} + @media screen { /* Remove right padding from last nav item */ .usa-nav__primary-item:not(.usa-nav__primary-item__right-padding):last-of-type diff --git a/bloom_nofos/nofos/templates/nofos/nofo_check_links.html b/bloom_nofos/nofos/templates/nofos/nofo_check_links.html index a77abf2c..7d38f97d 100644 --- a/bloom_nofos/nofos/templates/nofos/nofo_check_links.html +++ b/bloom_nofos/nofos/templates/nofos/nofo_check_links.html @@ -18,16 +18,54 @@ {% endwith %}

There are {{ links|length }} external links in this NOFO.

- + {% if with_status %}
What does the ‘Status’ number mean? +
- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Status numberWhat it meansWhat to do
200 🟢 (OK) + The request succeeded. + Nothing, all good.
403 ⛔️ (Forbidden) + This page refused to load. + Manually check if link is working.
404 🔴 (Not Found) + This page can’t be found. + Manually check if link is working.
500 🟠 (Server error) + The server had a problem. + Manually check if link is working.
+ +

Sometimes, links that won’t load for the NOFO Builder are fine when you click them.

+

For this reason, always manually check links that are not 200 🟢.

Learn more about HTTP response status codes.

@@ -58,7 +96,7 @@ {{ forloop.counter }}
{{ link.domain }}
{{ link.url }}
- {{ link.section.name }}
{{ link.subsection.name }} + {{ link.section.name }}
{% if link.subsection.name %}{{ link.subsection.name }}{% else %}(#{{ link.subsection.order }}){% endif %} {{ link.status }} {% if link.redirect_url %}Yes{% endif %}