-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile redesign #476
Mobile redesign #476
Conversation
🎨 Fix formatting of 6 files for commit 5aed728
Codecov Report
@@ Coverage Diff @@
## master #476 +/- ##
=========================================
- Coverage 62.82% 62.8% -0.02%
=========================================
Files 104 103 -1
Lines 2846 2815 -31
=========================================
- Hits 1788 1768 -20
+ Misses 1058 1047 -11
Continue to review full report at Codecov.
|
Quick update with testing command
@@ -10,7 +9,6 @@ | |||
ActivivtyInviteDeclineForm, | |||
ActivitySignupForm, | |||
PersonForm, | |||
getLoginForm, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formen blev ikke brugt nogen steder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vi bør også fjerne get_login_form.py filen.
section { | ||
@extend %rounded-rect; | ||
margin: 15px 0; | ||
@extend %card; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Visuel adskilningen mellem sections
@@ -1,5 +0,0 @@ | |||
{% if user.is_authenticated %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blev ikke brugt
Kommentarer til
|
Kommentarer til
|
Jeg har indsat din tekst og rykket "opret" knapperne op i toppen. Hvad tænker du om det @JakobLibak |
🎨 Fix formatting of 1 file for commit 6d0f7bd
Det ser rigtig godt ud. Teksten i toppen giver næsten ikke mening, så den må vi hellere få ændret også.
|
Det har du da helt ret i, den tekst er opdateret nu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hvis du sørger for at fjerne den fil der er for meget så slipper vi den igennem :)
@@ -10,7 +9,6 @@ | |||
ActivivtyInviteDeclineForm, | |||
ActivitySignupForm, | |||
PersonForm, | |||
getLoginForm, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vi bør også fjerne get_login_form.py filen.
|
||
@staticmethod | ||
def get_open_departments(): | ||
result = [] | ||
a_year_ago = (timezone.now() - timedelta(days=366)).date() | ||
for department in Department.objects.filter(closed_dtm=None).order_by( | ||
"address__region", "name" | ||
): | ||
department_activties = Activity.objects.filter( | ||
department=department | ||
).order_by("-end_date") | ||
if a_year_ago < department.created: | ||
result.append(department) | ||
elif ( | ||
len(department_activties) > 0 | ||
and a_year_ago < department_activties[0].end_date | ||
): | ||
result.append(department) | ||
|
||
return result |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skal vi lave en issue på det allerede så vi er opmærksomme på det?
@lakridserne Her er issue med det til afdelinger #480 |
Det ser godt ud herfra. Vi skubber den videre til staging, og så laver jeg en kort intro der kan kommunikeres ud til resten af foreningen. |
En meget stor PR.
Den ændrer følgende:
get_open_departsments
function der returnerer en liste over alle afdelinger som ikke er lukket og har haft en aktivitet det seneste år. (Senere skal vi lave lavet sådan at den sender en mail til sek og afdelingsleder og lukker afdelingen)Screenshot kommer senere