File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
warehouse/admin/templates/admin/users Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,16 @@ <h5 class="widget-user-desc text-center">{{ user.name }}</h5>
100
100
Projects - Total Owned Size < span class ="float-right badge bg-success "> {{ user_projects | selectattr("role_name", "equalto", "Owner") | sum(attribute="total_size") | filesizeformat(binary=True) }}</ span >
101
101
</ a >
102
102
</ li >
103
+ < li class ="nav-item ">
104
+ < a href ="#organizations " class ="nav-link ">
105
+ Organizations < span class ="float-right badge bg-info "> {{ user.organizations | length }}</ span >
106
+ </ a >
107
+ </ li >
108
+ < li class ="nav-item ">
109
+ < a href ="#orgapps " class ="nav-link ">
110
+ Org Applications < span class ="float-right badge bg-info "> {{ user.organization_applications | length }}</ span >
111
+ </ a >
112
+ </ li >
103
113
</ ul >
104
114
</ div >
105
115
@@ -837,6 +847,32 @@ <h3 class="card-title">Organizations</h3>
837
847
</ div > <!-- .card -->
838
848
{% endif %}
839
849
850
+ {% if user.organization_applications %}
851
+ < div class ="card ">
852
+ < div class ="card-header with-border ">
853
+ < h3 class ="card-title "> Organization Applications</ h3 >
854
+ </ div >
855
+
856
+ < div class ="card-body ">
857
+ < table class ="table table-hover " id ="orgapps ">
858
+ < thead >
859
+ < tr >
860
+ < th > Organization Application Name</ th >
861
+ </ tr >
862
+ </ thead >
863
+ < tbody >
864
+ {% for application in user.organization_applications %}
865
+ < tr >
866
+ < td > < a href ="{{ request.route_path('admin.organization_application.detail', organization_application_id=application.id) }} "> {{ application.name }}</ a > </ td >
867
+ </ tr >
868
+ {% endfor %}
869
+ </ tbody >
870
+ </ table >
871
+ </ div >
872
+ </ div > <!-- .card -->
873
+ {% endif %}
874
+
875
+
840
876
< div class ="card ">
841
877
< div class ="card-header with-border ">
842
878
< h3 class ="card-title "> Pending OpenID Connect Publishers</ h3 >
You can’t perform that action at this time.
0 commit comments