Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AKPlanning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIF
AKPlanning
Commits
6e92d0ab
Commit
6e92d0ab
authored
1 month ago
by
Benjamin Hättasch
Browse files
Options
Downloads
Patches
Plain Diff
Improve code quality
parent
4da9594e
No related branches found
No related tags found
No related merge requests found
Pipeline
#289177
passed
1 month ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
AKModel/views/manage.py
+2
-1
2 additions, 1 deletion
AKModel/views/manage.py
AKPlan/views.py
+0
-1
0 additions, 1 deletion
AKPlan/views.py
AKSubmission/templatetags/tags_AKSubmission.py
+3
-3
3 additions, 3 deletions
AKSubmission/templatetags/tags_AKSubmission.py
with
5 additions
and
5 deletions
AKModel/views/manage.py
+
2
−
1
View file @
6e92d0ab
...
...
@@ -82,7 +82,8 @@ class ExportSlidesView(EventSlugMixin, IntermediateAdminView):
# Get all relevant AKs (wishes separately, and either all AKs or only those who should directly or indirectly
# be presented when restriction setting was chosen)
categories_with_aks
,
ak_wishes
=
self
.
event
.
get_categories_with_aks
(
wishes_seperately
=
True
,
filter_func
=
lambda
ak
:
not
RESULT_PRESENTATION_MODE
or
(
ak
.
present
or
(
ak
.
present
is
None
and
ak
.
category
.
present_by_default
)),
types
=
types
)
ak
:
not
RESULT_PRESENTATION_MODE
or
(
ak
.
present
or
(
ak
.
present
is
None
and
ak
.
category
.
present_by_default
)),
types
=
types
)
# Create context for LaTeX rendering
context
=
{
...
...
This diff is collapsed.
Click to expand it.
AKPlan/views.py
+
0
−
1
View file @
6e92d0ab
...
...
@@ -74,7 +74,6 @@ class PlanIndexView(FilterByEventSlugMixin, ListView):
:param akslot: current slot
:type akslot: AKSlot
"""
pass
class
PlanScreenView
(
PlanIndexView
):
...
...
This diff is collapsed.
Click to expand it.
AKSubmission/templatetags/tags_AKSubmission.py
+
3
−
3
View file @
6e92d0ab
...
...
@@ -52,11 +52,11 @@ def category_linked_badge(category, event_slug):
@register.inclusion_tag
(
"
AKSubmission/type_linked_badge.html
"
)
def
type_linked_badge
(
type
,
event_slug
):
def
type_linked_badge
(
ak_
type
,
event_slug
):
"""
Generate a clickable type badge based upon the type_linked_badge template
:param type: type to show/link
:param
ak_
type: type to show/link
:param event_slug: slug of this event, required for link creation
:return: html fragment containing badge
"""
return
{
"
type
"
:
type
,
"
event_slug
"
:
event_slug
}
return
{
"
type
"
:
ak_
type
,
"
event_slug
"
:
event_slug
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment