-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
#9253 Removed the "in English" link from the editions list on a work page. #9692
#9253 Removed the "in English" link from the editions list on a work page. #9692
Conversation
@RayBB Kindly review my PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deployed this to testing and it does appear to be removing the links as can be seen here.
However, lets use the commify_list function again.
Also, please provide screenshots of what it looks like before and after your change and in the case where multiple languages are assigned to the edition.
Thanks for you contributions!
@@ -64,7 +64,7 @@ | |||
<!-- Formats are store as a raw string --> | |||
$book.physical_format.replace('[', '').replace(']','') | |||
$if book.languages: | |||
$:_('in %(languagelist)s', languagelist=commify_list(thingrepr(l) for l in book.languages)) | |||
$:_('in %(languagelist)s', languagelist=', '.join(l.name for l in book.languages)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a particular reason you removed commify_list
here and replaced it with ', '.join
?
If not, lets put it back since it was probably there for a reason and it used in the other places where we are displaying languages.
@RayBB done!! Kindly review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On testing and working well.
Now we need staff to merge it.
Great job on this one :)
Sounds good :) |
@RayBB or @poojatalele could we get a clearer title to this one? The title of a PR should be understandable without a lot of extra context. Thank you! |
@cdrini Changed, pls check once. |
…list on a work page. (internetarchive#9692) Co-authored-by: Drini Cami <cdrini@gmail.com>
…list on a work page. (internetarchive#9692) Co-authored-by: Drini Cami <cdrini@gmail.com>
Closes #9253
hotfix
Technical
This pull request addresses the issue of the "in English" link in the editions list on the work page. The link has been converted to plain text to improve the user experience by removing unnecessary navigation. The changes were made in the template file to render the language text as plain text instead of a hyperlink.
Testing
Screenshot
Before changes:


After changes:
Stakeholders
@RayBB