Sha256: b3faf62987aba50eb73a02565783d45671a5e3e1f8117f7754640e57f08a9176

Contents?: true

Size: 921 Bytes

Versions: 12

Compression:

Stored size: 921 Bytes

Contents

<% if current_page_review.under_review? %>
  <div data-module='page-expiry' data-last-reviewed-on="<%= current_page_review.review_by %>">
    <div class='page-expiry--not-expired'>
      This page was last reviewed on <%= format_date current_page_review.last_reviewed_on %>.

      It needs to be reviewed again on <%= format_date current_page_review.review_by %>
      <% if current_page_review.owner_slack %>
      by the page owner <%= link_to current_page_review.owner_slack, current_page_review.owner_slack_url %>
      <% end %>.
    </div>

    <div class='page-expiry--expired'>
      This page was set to be reviewed before <%= format_date current_page_review.review_by %><% if current_page_review.owner_slack %>
       by the page owner <%= link_to current_page_review.owner_slack, current_page_review.owner_slack_url %><% end %>.
      This might mean the content is out of date.
    </div>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
govuk_tech_docs-1.8.1 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.8.0 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.7.0 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.6.3 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.6.2 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.6.1 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.6.0 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.5.0 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.4.0 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.3.1 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.3.0 lib/source/layouts/_page_review.erb
govuk_tech_docs-1.2.0 lib/source/layouts/_page_review.erb