File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/webapp/app/core/course/manage/update Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ <h4 class="form-group" jhiTranslate="artemisApp.course.form.sections.general"></
72
72
< label class ="form-control-label " jhiTranslate ="artemisApp.course.description " for ="field_description "> </ label >
73
73
< textarea id ="field_description " class ="form-control " rows ="2 " formControlName ="description " [(ngModel)] ="course.description "> </ textarea >
74
74
</ div >
75
- < div *jhiHasAnyAuthority =" 'ROLE_ADMIN' " >
75
+ @if (isAdmin) {
76
76
< div class ="form-group ">
77
77
< label class ="form-control-label " jhiTranslate ="artemisApp.course.organizations "> </ label >
78
78
< div class ="btn-group d-flex flex-wrap ">
91
91
</ div >
92
92
< button id ="addOrganizationButton " type ="button " class ="btn btn-outline-primary " (click) ="openOrganizationsModal() "> Add</ button >
93
93
</ div >
94
- </ div >
94
+ }
95
95
< div class ="row g-2 ">
96
96
< div class ="form-group col-md ">
97
97
< jhi-date-time-picker
You can’t perform that action at this time.
0 commit comments