Skip to content
Snippets Groups Projects
Commit 024a54e2 authored by Роман Штейнберг's avatar Роман Штейнберг
Browse files

CHG: semester names in semester switcher

parent 5941372d
Branches
No related merge requests found
...@@ -364,10 +364,10 @@ input[type="checkbox"] { ...@@ -364,10 +364,10 @@ input[type="checkbox"] {
padding: 10px; padding: 10px;
overflow: hidden; overflow: hidden;
.modalWindow(auto); .modalWindow(auto);
min-width: 160px;
margin-top: 5px; margin-top: 5px;
background: @ColorBaseWhite; background: @ColorBaseWhite;
border: 1px solid @ColorBaseGrey; border: 1px solid @ColorBaseGrey;
right: 2px;
.box-shadow(0 0 5px, @ColorGrey); .box-shadow(0 0 5px, @ColorGrey);
.radius(5px); .radius(5px);
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<div class="semesterSwitcherBtn"> <div class="semesterSwitcherBtn">
<div class="semesterSwitcher" id="semester_{{ User.SemesterID }}" style="display: none;"> <div class="semesterSwitcher" id="semester_{{ User.SemesterID }}" style="display: none;">
<ul> <ul>
{% for i in SemesterList %} {% for sem in SemesterList %}
<li><a href="#" id="S-{{ i.ID }}" class="switchSemester">{{ i.Num }} семестр {{ i.Year }}/{{ i.Year + 1 }}</a></li> <li><a href="#" id="S-{{ sem.ID }}" class="switchSemester">{{ Rus[sem.Season] }} {{ sem.Num == 1 ? sem.Year : (sem.Year + 1) }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
......
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