Skip to content

Commit

Permalink
make sure date is present in new list
Browse files Browse the repository at this point in the history
  • Loading branch information
kyokukou committed Sep 23, 2024
1 parent 76207e6 commit 2bd711e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions browse/templates/list/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</ul>

<p>See <a id="recent-{{ context }}" aria-labelledby="recent-{{ context }}" href="/list/{{ context }}/recent">recent</a> articles</p>
<h3>Showing new listings for {{announced.strftime('%A, %-d %B %Y')}}</h3>
{% endblock %}

{% block items %}
Expand Down
1 change: 1 addition & 0 deletions tests/listings/db/test_db_listing_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def test_new_listing_page( client_with_db_listings):
assert rv.status_code == 200
text = rv.text
assert "Replacement submissions" in text
assert "Showing new listings for Thursday, 3 February 2011" in text
assert "arXiv:math/0510544" in text
assert "Leibniz superalgebras graded by finite root systems" in text
assert "showing 1 of 1 entries" in text
Expand Down

0 comments on commit 2bd711e

Please sign in to comment.