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>
|
||||
</div>
|
||||
<div ng-repeat="(th, line) in syncReport" class="card-body" ng-if="th !== '_date' && line.length">
|
||||
<h3>
|
||||
{{ th }}
|
||||
<a ng-repeat="theme in themes" ng-if="theme.name == th" href="themes/{{ theme.id }}" title="Voir le thème">
|
||||
<span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
|
||||
</a>
|
||||
</h3>
|
||||
<div class="d-flex">
|
||||
<h3>
|
||||
{{ th }}
|
||||
</h3>
|
||||
<div class="d-inline-block" ng-repeat="theme in themes" ng-if="theme.name == th">
|
||||
<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>
|
||||
<li ng-repeat="item in line" class="text-break">{{ item }}</li>
|
||||
</ul>
|
||||
|
|
Reference in a new issue