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
8149e672
Verified
Commit
8149e672
authored
2 years ago
by
Lukas Weichelt
Browse files
Options
Downloads
Patches
Plain Diff
Show also group ownerships on person detail page
parent
0a025d1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1094
Resolve "Show also group ownerships on person detail page"
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 @
8149e672
...
...
@@ -255,5 +255,21 @@
</div>
</div>
{% 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>
{% endblock %}
This diff is collapsed.
Click to expand it.
Lukas Weichelt
@lukasw
mentioned in commit
0dd7b888
·
2 years ago
mentioned in commit
0dd7b888
mentioned in commit 0dd7b888bd07f0e8b09b89367b49a75b4ce2d25c
Toggle commit list
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