Skip to content

Commit

Permalink
Fix DEP enrollment tags display
Browse files Browse the repository at this point in the history
  • Loading branch information
np5 committed Oct 11, 2024
1 parent 1b93d33 commit b36561c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zentral/contrib/mdm/templates/mdm/depenrollment_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ <h3 class="m-0 fs-5 text-secondary">[DEP]</h3>
{% endif %}
</div>
</div>
{% with object.enrollment_secret as secret %}
<h4>Configuration</h4>
<table class="table-object-properties">
<tbody>
Expand Down Expand Up @@ -74,7 +75,7 @@ <h4>Configuration</h4>
</tr>
<tr>
<th>Business unit</th>
<td>{{ object.enrollment_secret.meta_business_unit }}</td>
<td>{{ secret.meta_business_unit }}</td>
</tr>
<tr>
<th>Enrollment tag{{ secret.tags.count|pluralize }}</th>
Expand All @@ -101,6 +102,7 @@ <h4>Configuration</h4>
</tr>
</tbody>
</table>
{% endwith %}

<h4>Authentication</h4>
<table class="table-object-properties">
Expand Down

0 comments on commit b36561c

Please sign in to comment.