Skip to content

Commit

Permalink
When reviewing a project in preview_project.html, it is now clear if …
Browse files Browse the repository at this point in the history
…there are older versions of that project. A message is displayed when the project is a new version, and the reviewer can click on a link to view the latest published version. Closed #2282#.
  • Loading branch information
rafgia committed Sep 26, 2024
1 parent 168ae5d commit deedf52
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ <h1 class="form-signin-heading"><em>[Preview]:</em> {{ project.title }}
{% else %}
<a style="color:red"><strong>* Required field missing</strong></a>
{% endif %}
{% if project.has_other_versions %}
<a style="color:blue"><strong>This is a new version. <a href="{% url 'published_projects_latest' project_slug %}"> See latest version </a>
{% endif %}
</p>
<hr>

Expand Down

0 comments on commit deedf52

Please sign in to comment.