Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan-Hendrik Willms
Stud.IP
Commits
8cacbaae
Commit
8cacbaae
authored
6 months ago
by
Jan-Hendrik Willms
Browse files
Options
Downloads
Patches
Plain Diff
fix another error on studygroup details page, fixes #4622
Closes #4622 Merge request
studip/studip!3434
parent
c8cf1551
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/course/studygroup/details.php
+3
-3
3 additions, 3 deletions
app/views/course/studygroup/details.php
lib/models/Course.php
+1
-1
1 addition, 1 deletion
lib/models/Course.php
with
4 additions
and
4 deletions
app/views/course/studygroup/details.php
+
3
−
3
View file @
8cacbaae
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
<dt>
<?=
_
(
'Moderiert von'
)
?>
</dt>
<dt>
<?=
_
(
'Moderiert von'
)
?>
</dt>
<dd>
<dd>
<ul
class=
"list-csv"
>
<ul
class=
"list-csv"
>
<?
foreach
(
$studygroup
->
getMembers
([
'dozent'
,
'tutor'
])
as
$mod
)
:
?>
<?
foreach
(
$studygroup
->
getMembers
WithStatus
([
'dozent'
,
'tutor'
])
as
$mod
)
:
?>
<li>
<li>
<a
href=
"
<?=
URLHelper
::
getLink
(
'dispatch.php/profile'
,
[
'username'
=>
$mod
[
'
username
'
]
])
?>
"
>
<a
href=
"
<?=
URLHelper
::
getLink
(
'dispatch.php/profile'
,
[
'username'
=>
$mod
->
username
])
?>
"
>
<?=
html
r
eady
(
$mod
[
'f
ull
n
ame
'
]
)
?>
<?=
html
R
eady
(
$mod
->
user
->
getF
ull
N
ame
()
)
?>
</a>
</a>
</li>
</li>
<?
endforeach
?>
<?
endforeach
?>
...
...
This diff is collapsed.
Click to expand it.
lib/models/Course.php
+
1
−
1
View file @
8cacbaae
...
@@ -924,7 +924,7 @@ class Course extends SimpleORMap implements Range, PrivacyObject, StudipItem, Fe
...
@@ -924,7 +924,7 @@ class Course extends SimpleORMap implements Range, PrivacyObject, StudipItem, Fe
*
*
* @param String|Array $status the status to filter with
* @param String|Array $status the status to filter with
* @param bool $as_collection return collection instead of array?
* @param bool $as_collection return collection instead of array?
* @return
Array
|SimpleCollection an array of all those members.
* @return
CourseMember[]
|SimpleCollection an array of all those members.
*/
*/
public
function
getMembersWithStatus
(
$status
,
$as_collection
=
false
)
public
function
getMembersWithStatus
(
$status
,
$as_collection
=
false
)
{
{
...
...
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