admin: Can delete a repository directory if needed

This commit is contained in:
nemunaire 2025-01-13 17:20:28 +01:00
parent 7692f92aa4
commit c1924c0e92
5 changed files with 48 additions and 4 deletions

View file

@ -9,16 +9,20 @@
<tr>
<th>Chemin</th>
<th>Branche</th>
<th>Commit</th>
<th>Plus récent</th>
<th>Commit <span class="text-muted">Plus récent</span></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="repository in repositories">
<td>{{ repository.path }}</td>
<td>{{ repository.branch }}</td>
<td>{{ repository.hash }}</td>
<td><repository-uptodate repository="repository" /></td>
<td>
{{ repository.hash }}<br>
<repository-uptodate repository="repository" />
</td>
<td>
<button type="button" ng-click="deleteRepository(repository)" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
</td>
</tr>
</tbody>
</table>