Compare commits
3 Commits
81f1d44700
...
01f5434065
Author | SHA1 | Date |
---|---|---|
Luca | 01f5434065 | |
Luca | e7df05566f | |
Luca | cabf4538d2 |
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
||||||
Copyright 2023 Luca
|
Copyright 2023-2024 Luca Schmid
|
||||||
|
|
||||||
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 Luca Schmid
|
Copyright 2023-2024 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
|
# Copyright (C) 2023-2024
|
||||||
# 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.
|
# Luca Schmid <Luca@hackerspace-bamberg.de>, 2023-2024.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
{% 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 cfp_header %}
|
{% block stylesheets %}
|
||||||
{% 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;
|
||||||
|
@ -21,6 +23,9 @@
|
||||||
}
|
}
|
||||||
</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
|
||||||
>= int(
|
>= round(
|
||||||
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