commonform/commonform.org

Mention draft status in "Upgrades"

Closed this issue · 3 comments

https://github.com/commonform/commonform.org/blob/master/templates/form.ejs#L42-L48

There should be an extra if-branch here for latest-draft documents, e.g.

<% if (locked) { %>
  <% if (draft && !next_revision_name) { %>
  This form’s text will not change, though future drafts or the final version of this edition are yet to be published.
  <% } else { %> <%/* drafts with next revision handled elsewhere */%>
  This form’s text will not change.
  <% } %>

See also #55

@riking thanks for this.

It's only my list to massively simplify the data tables at the bottoms of forms pages. For example, I'm planning to entirely disable automatic upgrades of form components for the foreseeable future, and that will allow much simplification.

I was thinking the notice for #55 would go right at the top of the page, rather than at the bottom. Previous incarnations of commonform.org have done just that.

Thanks again, @riking!