-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Refactor Gold Views #6272
Refactor Gold Views #6272
Conversation
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.
Thanks!
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.
There are a couple fixes on the template that I noted, but changes look good otherwise 👍
<li> | ||
<form method="post" action="{% url "gold_projects_remove" project.slug %}"> | ||
{% csrf_token %} | ||
<input type="submit" value="{% trans 'Remove Ad-Free Status' %}"> |
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.
Remove ad free status
is a lot for a button, it's better to keep text on buttons to a minimum or rely on icons instead. When translators go to translate this string, it could easily become a string that is too wide for the list view.
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.
{% endfor %} | ||
</ul> | ||
|
||
<div class="module-translation"> |
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.
This probably shouldn't be module-translation
, which is referencing the translation admin UI.
closes #5856
Changed a bit of the template otherwise had to do hack like this: #6242 (comment)