Skip to content

Commit 3c4901f

Browse files
committed
Hide MIC when not required
1 parent 385a3bd commit 3c4901f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

RIGS/templates/partials/event_row.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ <h5 class="mb-0 mr-3">
8282
{% endif %}
8383

8484

85+
{% if event.is_rig %}
8586
<div class="mb-3">
8687
<small class="text-muted">Client:</small>
8788
<p class="mb-1">
@@ -97,8 +98,9 @@ <h5 class="mb-0 mr-3">
9798
{% endif %}
9899
</p>
99100
</div>
101+
{% endif %}
100102

101-
103+
{% if event.mic or event.needs_mic %}
102104
<div class="mb-3">
103105
<small class="text-muted">Member in Charge (MIC):</small>
104106
<div class="d-flex align-items-center mt-1">
@@ -119,6 +121,7 @@ <h5 class="mb-0 mr-3">
119121
{% endif %}
120122
</div>
121123
</div>
124+
{% endif %}
122125
</div>
123126

124127

0 commit comments

Comments
 (0)