admin: Add resync button on theme
This commit is contained in:
parent
f65375b01f
commit
c0260da035
1 changed files with 13 additions and 6 deletions
|
@ -68,12 +68,19 @@
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div ng-repeat="(th, line) in syncReport" class="card-body" ng-if="th !== '_date' && line.length">
|
<div ng-repeat="(th, line) in syncReport" class="card-body" ng-if="th !== '_date' && line.length">
|
||||||
<h3>
|
<div class="d-flex">
|
||||||
{{ th }}
|
<h3>
|
||||||
<a ng-repeat="theme in themes" ng-if="theme.name == th" href="themes/{{ theme.id }}" title="Voir le thème">
|
{{ th }}
|
||||||
<span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
|
</h3>
|
||||||
</a>
|
<div class="d-inline-block" ng-repeat="theme in themes" ng-if="theme.name == th">
|
||||||
</h3>
|
<a href="themes/{{ theme.id }}" class="btn btn-link" title="Voir le thème">
|
||||||
|
<span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
|
||||||
|
</a>
|
||||||
|
<button class="btn btn-light" title="Resynchroniser uniquement ce thème" ng-click="deepSync(theme)" ng-if="config.wip || !timeProgression || displayDangerousActions">
|
||||||
|
<span class="glyphicon glyphicon-hdd" aria-hidden="true"></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li ng-repeat="item in line" class="text-break">{{ item }}</li>
|
<li ng-repeat="item in line" class="text-break">{{ item }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Reference in a new issue