feat(api): Add route to export pms as HTML

fixes #7939
closes #7999
This commit is contained in:
Blade Barringer
2016-09-19 21:32:58 -05:00
parent f90a31b4be
commit 5fa76f6aeb
4 changed files with 123 additions and 0 deletions
+5
View File
@@ -17,6 +17,11 @@ script(type='text/ng-template', id='partials/options.social.inbox.html')
.form-inline
a.btn.btn-xs.btn-danger(ng-click='deleteAllMessages()')=env.t('clearAll')
|      
a.btn.btn-xs.btn-default(href='/export/inbox.html', popover=env.t('exportInboxPopoverBody'),
popover-title=env.t('exportInboxPopoverTitle'),
popover-trigger='mouseenter', popover-placement='right',
popover-append-to-body='true')=env.t('exportInbox')
|      
.checkbox
label
input(type='checkbox', ng-model='user.inbox.optOut', ng-change='set({"inbox.optOut": user.inbox.optOut?true: false})')