2013-11-08 15:35:30 -05:00
|
|
|
<div class="lightbox-body" ng-controller="DialogCtrl">
|
|
|
|
<header>
|
|
|
|
<h2>{{state.dialog.title}}</h2>
|
2014-06-27 06:36:43 -04:00
|
|
|
<button class="close" wo-touch="confirm(false)" data-action="lightbox-close"></button>
|
2013-11-08 15:35:30 -05:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="content">
|
2014-08-12 11:44:10 -04:00
|
|
|
<p>{{state.dialog.message}} <a ng-show="state.dialog.faqLink" href="{{state.dialog.faqLink}}" target="_blank">Learn more</a></p>
|
2013-11-08 15:35:30 -05:00
|
|
|
<div class="control">
|
2014-06-27 06:36:43 -04:00
|
|
|
<button wo-touch="confirm(false)" class="btn btn-alt" ng-show="state.dialog.showNegativeBtn">{{state.dialog.negativeBtnStr}}</button>
|
2014-08-12 12:32:37 -04:00
|
|
|
<!-- only show bug report button if we can actually report a bug, i.e. the writer is attached to the scope -->
|
|
|
|
<button wo-touch="confirm(true)" class="btn" ng-show="!state.writer || !state.dialog.showBugReporter">{{state.dialog.positiveBtnStr}}</button>
|
|
|
|
<button wo-touch="confirm(true); state.writer.reportBug()" class="btn" ng-show="state.writer && state.dialog.showBugReporter">Report bug</button>
|
2013-11-08 15:35:30 -05:00
|
|
|
</div>
|
|
|
|
</div><!-- /.content -->
|
|
|
|
</div><!-- /.lightbox-body -->
|