superdesk/superdesk-client-core

View on GitHub
scripts/apps/authoring/macros/views/macros-replace.html

Summary

Maintainability
Test Coverage
<div id="macros-diff" ng-show="diff">
    <span ng-show="!preview"><em translate>No matches found.</em></span>
    <button ng-show="!preview" class="done-btn" ng-click="close()" translate>OK</button>

    <span ng-show="preview"><em>{{ preview }}</em></span>
    <button ng-show="preview" class="replace-btn" ng-click="replace()" translate>replace</button>
    <button ng-show="preview" class="prev-btn" ng-click="prev()" translate>prev</button>
    <button ng-show="preview" class="next-btn" ng-click="next()" translate>next</button>
    <button ng-show="preview" class="done-btn" ng-click="close()" translate>done</button>
</div>