Unify system feedback templates

Also, a SystemFeedback model no longer has a `type`, it has an `intent`. This is
because SystemFeedback views have `type`, as well, and this prevents a naming
collision.
This commit is contained in:
David Baumgold
2013-05-17 14:41:56 -04:00
parent 1e7e38824a
commit 9e864834bd
14 changed files with 76 additions and 173 deletions

View File

@@ -32,14 +32,8 @@
<%include file="courseware_vendor_js.html"/>
## js templates
<script id="alert-tpl" type="text/template">
<%static:include path="js/alert.underscore" />
</script>
<script id="notification-tpl" type="text/template">
<%static:include path="js/notification.underscore" />
</script>
<script id="prompt-tpl" type="text/template">
<%static:include path="js/prompt.underscore" />
<script id="system-feedback-tpl" type="text/template">
<%static:include path="js/system-feedback.underscore" />
</script>
## javascript