Added buttons to footer, cleaned up functions

This commit is contained in:
Blade Barringer
2014-12-05 06:41:40 -06:00
committed by Matteo Pagliazzi
parent c90ea166d4
commit 62d92db332
3 changed files with 14 additions and 4 deletions
+2
View File
@@ -96,3 +96,5 @@ script(type='text/ng-template', id='modals/abuse-flag.html')
.modal-body
h4!=env.t('abuseFlagModalBody', {firstLinkStart: "<a href='/static/community-guidelines' target='_blank'>", secondLinkStart: "<a href='/static/terms' target='_blank'>", linkEnd: "</a>"})
.modal-footer
button.btn.btn-primary(ng-click='$close()')=env.t('cancel')
button.btn.btn-default(ng-click='reportAbuse(user, abuseObject)')=env.t("abuseFlagModalButton")