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
0dd7b888
Verified
Commit
0dd7b888
authored
2 years ago
by
Lukas Weichelt
Committed by
Jonathan Weth
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Show also group ownerships on person detail page
(cherry picked from commit
8149e672
)
parent
b4b137ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/core/templates/core/person/full.html
+16
-0
16 additions, 0 deletions
aleksis/core/templates/core/person/full.html
with
16 additions
and
0 deletions
aleksis/core/templates/core/person/full.html
+
16
−
0
View file @
0dd7b888
...
@@ -255,5 +255,21 @@
...
@@ -255,5 +255,21 @@
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
{% has_perm 'core.view_person_groups_rule' user person as can_view_groups %}
{% if can_view_groups and groups %}
<div
class=
"col s12 m6 l4"
>
<h2>
{% blocktrans %}Group ownership{% endblocktrans %}
</h2>
<div
class=
"card-panel"
>
<div
class=
"collection"
>
{% for group in person.owner_of_recursive %}
<a
href=
"{{ group.get_absolute_url }}"
class=
"collection-item"
>
{{ group.name }} ({{ group.school_term }})
</a>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% endblock %}
{% endblock %}
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