Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
87fc9f32
Verified
Commit
87fc9f32
authored
5 years ago
by
Tom Teichler
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of edugit.org:BiscuIT/BiscuIT-ng
parents
a2792d7d
d34aca6f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#218
failed
5 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/official/BiscuIT-App-Alsijil
+1
-1
1 addition, 1 deletion
apps/official/BiscuIT-App-Alsijil
biscuit/core/templatetags/data_helpers.py
+1
-1
1 addition, 1 deletion
biscuit/core/templatetags/data_helpers.py
with
2 additions
and
2 deletions
BiscuIT-App-Alsijil
@
ddf4910f
Compare
db488728
...
ddf4910f
Subproject commit d
b488728dce004beebd5b266e406b80a4860505a
Subproject commit d
df4910f34c3c5063f0e4eb2ca05a03e14dffb63
This diff is collapsed.
Click to expand it.
biscuit/core/templatetags/data_helpers.py
+
1
−
1
View file @
87fc9f32
...
...
@@ -11,7 +11,7 @@ def get_dict(value: Any, arg: Any) -> Any:
if
hasattr
(
value
,
str
(
arg
)):
return
getattr
(
value
,
arg
)
elif
hasattr
(
value
,
'
has_
key
'
)
and
value
.
has_key
(
arg
):
elif
hasattr
(
value
,
'
key
s
'
)
and
arg
in
value
.
keys
(
):
return
value
[
arg
]
elif
str
(
arg
).
isnumeric
()
and
len
(
value
)
>
int
(
arg
):
return
value
[
int
(
arg
)]
...
...
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