Compare commits
No commits in common. "01f543406582d5ca524a481a283b50cb4ae344c9" and "81f1d447003be06a4ca0cbdf8b30eec6558c2640" have entirely different histories.
01f5434065
...
81f1d44700
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
||||||
Copyright 2023-2024 Luca Schmid
|
Copyright 2023 Luca
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
|
@ -40,7 +40,7 @@ black .
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright 2023-2024 Luca Schmid
|
Copyright 2023 Luca Schmid
|
||||||
|
|
||||||
Released under the terms of the Apache License 2.0
|
Released under the terms of the Apache License 2.0
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# pretalx plugin for rating music.
|
# pretalx plugin for rating music.
|
||||||
# Copyright (C) 2023-2024
|
# Copyright (C) 2023
|
||||||
# This file is distributed under the same license as the pretalx_musicrate package.
|
# This file is distributed under the same license as the pretalx_musicrate package.
|
||||||
# Luca Schmid <Luca@hackerspace-bamberg.de>, 2023-2024.
|
# Luca Schmid <Luca@hackerspace-bamberg.de>, 2023.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
{% extends "cfp/event/base.html" %}
|
{% extends "cfp/event/base.html" %}
|
||||||
{% load compress %}
|
{% load compress %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
|
||||||
|
|
||||||
{% block title %}{{ submission.title }} ::{% endblock %}
|
{% block title %}{{ submission.title }} ::{% endblock %}
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block cfp_header %}
|
||||||
{% compress css %}
|
{% compress css %}
|
||||||
<link rel="stylesheet" type="text/css" href="{% static "common/css/_forms.css" %}" />
|
|
||||||
<style>
|
<style>
|
||||||
.musicrate-pagination {
|
.musicrate-pagination {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -23,9 +21,6 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block cfp_header %}
|
|
||||||
{% block submission_header %}
|
{% block submission_header %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -377,7 +377,7 @@ class MayAdvanceView(EventPermissionRequired, SubmissionMixin, View):
|
||||||
return JsonResponse(
|
return JsonResponse(
|
||||||
{
|
{
|
||||||
"mayAdvance": num_ratings
|
"mayAdvance": num_ratings
|
||||||
>= round(
|
>= int(
|
||||||
num_jurors
|
num_jurors
|
||||||
* self.request.event.pretalx_musicrate_settings.advance_threshold
|
* self.request.event.pretalx_musicrate_settings.advance_threshold
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue