Skip to content

Commit

Permalink
Make new versions clearer in the submission system #2282 (#2310)
Browse files Browse the repository at this point in the history
On the Project Submission Info page, when there is a new version of a
published project, a message is displayed alongside the version number
stating, 'This is an update of the latest published version'. Otherwise,
a message stating 'No latest version available' is displayed. #2282
closed.
  • Loading branch information
tompollard authored Oct 3, 2024
2 parents ac055fb + 195fb14 commit 5e6b76c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ <h4 class="card-title">{{ project.title }}</h4>
Authors: {% for author in authors %}{{ author|show_all_author_info|safe }} {% endfor %}<br>
Created: {{ project.creation_datetime|date }}. Submitted: {{ project.submission_datetime|date }}.<br>
Storage Used: {{ storage_info.readable_used }} / {{ storage_info.readable_allowance }}<br>
Version: {{ project.version }}
{% if project.is_new_version %}<br>Latest Published Version: <a href="{% url 'published_project' latest_version.slug latest_version.version %}" target="_blank">{{ latest_version.version }}</a>{% endif %}
Version: {{ project.version }} {% if project.is_new_version %}<em>(this is an update to a published project)</em>{% endif %}<br>
Latest Published Version: {% if project.is_new_version %}<a href="{% url 'published_project' latest_version.slug latest_version.version %}" target="_blank">{{ latest_version.version }}</a>{% else %} No published version available.{% endif %}
{% if project.latest_reminder %}
<br>Latest reminder email sent on: {{ project.latest_reminder }}
{% endif %}
Expand Down

0 comments on commit 5e6b76c

Please sign in to comment.