aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/generic_modal.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-27 15:28:52 -0800
committerzotlabs <mike@macgirvin.com>2016-12-27 15:28:52 -0800
commitdb9ea66069f2a2df6044e8267a68eae377c45911 (patch)
treeaa93597df2ee43ceeaa980db864b58143f2e06df /view/tpl/generic_modal.tpl
parentef02464e3c3188563349bfda42585ce40cdb45ad (diff)
parentc2830c4a98cf3c9983b3c4b61024d52a6d7187df (diff)
downloadvolse-hubzilla-db9ea66069f2a2df6044e8267a68eae377c45911.tar.gz
volse-hubzilla-db9ea66069f2a2df6044e8267a68eae377c45911.tar.bz2
volse-hubzilla-db9ea66069f2a2df6044e8267a68eae377c45911.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla into master_merge
Diffstat (limited to 'view/tpl/generic_modal.tpl')
-rw-r--r--view/tpl/generic_modal.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/generic_modal.tpl b/view/tpl/generic_modal.tpl
index 3f7326e71..2bbea42b3 100644
--- a/view/tpl/generic_modal.tpl
+++ b/view/tpl/generic_modal.tpl
@@ -8,8 +8,10 @@
<div class="modal-body" id="generic-modal-body-{{$id}}"></div>
<div class="modal-footer">
<button id="generic-modal-cancel-{{$id}}" type="button" class="btn btn-default" data-dismiss="modal">{{$cancel}}</button>
+ {{if $ok}}
<button id="generic-modal-ok-{{$id}}" type="button" class="btn btn-primary">{{$ok}}</button>
+ {{/if}}
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
-</div><!-- /.modal --> \ No newline at end of file
+</div><!-- /.modal -->