Skip to content

Commit 46bcebf

Browse files
committed
bbb-lti_v0.1.1: Validated if ismoderator to show unpublished recordings in the table
1 parent 3c18e1b commit 46bcebf

File tree

2 files changed

+2
-44
lines changed

2 files changed

+2
-44
lines changed

bbb-lti/grails-app/views/tool/index.gsp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
</thead>
2323
<tbody>
2424
<g:each in="${recordingList}" var="r">
25+
<g:if test="${ismoderator || r.published == 'true'}">
2526
<tr class="r0 lastrow">
2627
<td class="cell c0" style="text-align:center;">
2728
<g:each in="${r.playback}" var="p">
@@ -50,6 +51,7 @@
5051
</td>
5152
</g:if>
5253
</tr>
54+
</g:if>
5355
</g:each>
5456
</tbody>
5557
</table>

bbb-lti/grails-app/views/tool/index2.gsp

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)