-
Notifications
You must be signed in to change notification settings - Fork 256
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
Added problem badges #2151
Added problem badges #2151
Conversation
vmcj
commented
Sep 21, 2023
cdfd20a
to
296af44
Compare
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.
Code style warnings but besides that LGTM
296af44
to
90ea66a
Compare
I tried to improve the speed of the queries when handling Tobi his remarks. @nickygerritsen this is non-trivial with Doctrine is there a better way? |
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 tried to improve the speed of the queries when handling Tobi his remarks. @nickygerritsen this is non-trivial with Doctrine is there a better way?
Besides doing direct queries or maybe a DQL, I don't think so
@@ -141,6 +141,10 @@ | |||
{{- (item.value|default(item.default|default('')))|affiliationLogo(item.title) -}} | |||
{% elseif key == "warning_content" %} | |||
{{- item.value|printWarningContent -}} | |||
{% elseif key == "badges" %} | |||
{% for badge in item.value %} | |||
{{- badge|problemBadge -}} |
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.
Maybe we want a space between the badges?
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.
90ea66a
to
a5685de
Compare