Compare commits

..

3 Commits

Author SHA1 Message Date
Luca 01f5434065 fix: round half up instead of rounding down
continuous-integration/drone/push Build is passing Details
2024-11-02 19:57:39 +01:00
Luca e7df05566f chore: update year 2024-11-02 19:53:14 +01:00
Luca cabf4538d2 fix: missing style definition for .submit-group 2024-11-02 19:48:44 +01:00
5 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,4 @@
Copyright 2023 Luca
Copyright 2023-2024 Luca Schmid
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@ -40,7 +40,7 @@ black .
## License
Copyright 2023 Luca Schmid
Copyright 2023-2024 Luca Schmid
Released under the terms of the Apache License 2.0

View File

@ -1,7 +1,7 @@
# pretalx plugin for rating music.
# Copyright (C) 2023
# Copyright (C) 2023-2024
# This file is distributed under the same license as the pretalx_musicrate package.
# Luca Schmid <Luca@hackerspace-bamberg.de>, 2023.
# Luca Schmid <Luca@hackerspace-bamberg.de>, 2023-2024.
#
msgid ""
msgstr ""

View File

@ -1,11 +1,13 @@
{% extends "cfp/event/base.html" %}
{% load compress %}
{% load i18n %}
{% load static %}
{% block title %}{{ submission.title }} ::{% endblock %}
{% block cfp_header %}
{% block stylesheets %}
{% compress css %}
<link rel="stylesheet" type="text/css" href="{% static "common/css/_forms.css" %}" />
<style>
.musicrate-pagination {
display: flex;
@ -21,6 +23,9 @@
}
</style>
{% endcompress %}
{% endblock %}
{% block cfp_header %}
{% block submission_header %}
{% endblock %}
{% endblock %}

View File

@ -377,7 +377,7 @@ class MayAdvanceView(EventPermissionRequired, SubmissionMixin, View):
return JsonResponse(
{
"mayAdvance": num_ratings
>= int(
>= round(
num_jurors
* self.request.event.pretalx_musicrate_settings.advance_threshold
)