<%
  type_class = case type.downcase
                when "new" then "govuk-tag--green"
                when "improved" then "govuk-tag--blue"
                when "changed" then "govuk-tag--red"
                when "fixed" then "govuk-tag--yellow"
               end
%>

<strong class="govuk-tag <%= type_class %>">
  <%= type %>
</strong>

<%
  type_class = case type.downcase
                when "new" then "govuk-tag--green"
                when "improvement" then "govuk-tag--blue"
                when "change" then "govuk-tag--red"
                when "fix" then "govuk-tag--yellow"
               end
%>

<strong class="govuk-tag <%= type_class %>">
  <%= type %>
</strong>

Update types to not use past tense
Update types to not use past tense

This makes the types work if the change is either an upcoming or recent changes.