Skip to content
Snippets Groups Projects
Commit 7bbb749f authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

Little fix

parent ca66611f
Branches
Tags
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span title="Успеваемость по дисциплине" class="Circle {{ i.ColorScheme }}"> <span title="Успеваемость по дисциплине" class="Circle {{ i.ColorScheme }}">
{% if i.MaxCurrentRate != 0 %} {% if i.MaxCurrentRate != 0 %}
{% if i.Rate >= i.MaxCurrentRate %} {% if i.Rate >= i.MaxCurrentRate %}
100 100%
{% else %} {% else %}
{{ (100 * i.Rate) // i.MaxCurrentRate }}% {{ (100 * i.Rate) // i.MaxCurrentRate }}%
{% endif %} {% endif %}
......
.Circle { .Circle {
display: inline-block; display: inline-block;
padding: 15px 9px; padding: 15px 0;
min-width: 45px; min-width: 45px;
min-height: 45px; min-height: 45px;
border-radius: 50%; border-radius: 50%;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.Circle{ .Circle{
display: inline-block; display: inline-block;
padding: 15px 9px; padding: 15px 0;
min-width: 45px; min-width: 45px;
min-height: 45px; min-height: 45px;
border-radius: 50%; border-radius: 50%;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment