Fixed bug: webapp should notice when remote deletion cannot complete due to not syncing
This commit is contained in:
parent
35dbe35007
commit
922371d5df
1 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,11 @@
|
||||||
<a href="@{SyncNowRepositoryR $ asUUID repoid}">
|
<a href="@{SyncNowRepositoryR $ asUUID repoid}">
|
||||||
<span .glyphicon .glyphicon-refresh>
|
<span .glyphicon .glyphicon-refresh>
|
||||||
\ Sync now
|
\ Sync now
|
||||||
|
$if notSyncing actions
|
||||||
|
<a title="Not allowed when syncing is disabled." href="#" style="color: #999;">
|
||||||
|
<span .glyphicon .glyphicon-trash>
|
||||||
|
\ Delete
|
||||||
|
$else
|
||||||
<a href="@{DeleteRepositoryR $ asUUID repoid}">
|
<a href="@{DeleteRepositoryR $ asUUID repoid}">
|
||||||
<span .glyphicon .glyphicon-trash>
|
<span .glyphicon .glyphicon-trash>
|
||||||
\ Delete
|
\ Delete
|
||||||
|
|
Loading…
Reference in a new issue