mirror of
https://github.com/ae-utbm/sith.git
synced 2026-05-22 00:40:22 +00:00
@@ -33,7 +33,7 @@ def migrate_roles(apps: StateApps, schema_editor):
|
|||||||
club_id=club_id,
|
club_id=club_id,
|
||||||
order=max(SITH_CLUB_ROLES) - role,
|
order=max(SITH_CLUB_ROLES) - role,
|
||||||
)
|
)
|
||||||
updates.append(When(role=role, then=new_role.id))
|
updates.append(When(club_id=club_id, role=role, then=new_role.id))
|
||||||
# all updates must happen at the same time
|
# all updates must happen at the same time
|
||||||
# otherwise, the 10 first created ClubRole would be
|
# otherwise, the 10 first created ClubRole would be
|
||||||
# re-modified after their initial creation, and it would
|
# re-modified after their initial creation, and it would
|
||||||
|
|||||||
@@ -81,9 +81,9 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
background: white;
|
background: white;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
font-size: 85%;
|
||||||
|
|
||||||
#links_content {
|
#links_content {
|
||||||
font-size: 85%;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
box-shadow: $shadow-color 1px 1px 1px;
|
box-shadow: $shadow-color 1px 1px 1px;
|
||||||
min-height: 20em;
|
min-height: 20em;
|
||||||
@@ -99,6 +99,7 @@
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
width: 25px;
|
width: 25px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -112,12 +113,13 @@
|
|||||||
#birthdays_content {
|
#birthdays_content {
|
||||||
box-shadow: $shadow-color 1px 1px 1px;
|
box-shadow: $shadow-color 1px 1px 1px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
|
||||||
ul.birthdays_year {
|
ul.birthdays_year {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
||||||
>li {
|
> li {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
|
|
||||||
&:nth-child(even) {
|
&:nth-child(even) {
|
||||||
|
|||||||
Reference in New Issue
Block a user