Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release ARXIVCE-2679 Remove spurious 'au2' from formatted author list to master #801

Merged
merged 7 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion browse/formatting/cite.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _fmt_author_list(pauths: List[List[str]]) -> str:
authors = [
(f"{au[1]} " if (len(au) > 1 and au[1]) else "")
+ f"{au[0]}"
+ (f" {au[2]} au2" if (len(au) > 2 and au[2]) else "")
+ (f" {au[2]}" if (len(au) > 2 and au[2]) else "")
for au in pauths
]
return " and ".join(authors)
Expand Down
5 changes: 3 additions & 2 deletions browse/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@

<div id="header" class="is-hidden-mobile">
{% block header %}
{#- The ignore_me link is not meant to be visible to users; it is meant to catch robots/crawlers not respecting robots.txt. aria-hidden prevents screenreaders from being caught. -#}
<a aria-hidden="true" href="/IgnoreMe"></a>
{#- The ignore_me link is not meant to be visible to users; it is meant to catch robots/crawlers not respecting robots.txt.
aria-hidden prevents screenreaders from being caught, and tabindex prevents it from being selectable via the tab key. -#}
<a aria-hidden="true" tabindex="-1" href="/IgnoreMe"></a>
{% block header_h1 %}<h1><img src="{{ url_for('static', filename='images/arxiv-logo-one-color-white.svg') }}" alt="arxiv logo" style="height:60px;"/></h1>{% endblock header_h1%}
{% block login_link %}{% endblock %}
{{ base_macros.compactsearch() }}
Expand Down