Fix Django template syntax error - use AngularJS delimiters for || operator in modifyUser

This commit is contained in:
master3395
2026-01-19 18:24:47 +01:00
parent 58f7d5d855
commit 76b3f664a6

View File

@@ -394,8 +394,8 @@
<input type="text" class="form-control form-control-sm" ng-model="cred.name"
ng-blur="updateCredentialName(cred.id, cred.name)" style="max-width: 200px;">
</td>
<td>{{ cred.created_at | date:'short' }}</td>
<td>{{ cred.last_used | date:'short' || 'Never' }}</td>
<td>{$ cred.created_at | date:'short' $}</td>
<td>{$ cred.last_used | date:'short' || 'Never' $}</td>
<td>
<button type="button" class="btn btn-sm btn-danger" ng-click="deleteCredential(cred.id)">
<i class="fa fa-trash"></i> {% trans "Delete" %}