Ghost/core/server/views/partials/flashes.hbs
Hannah Wolfe 30b4eb07f7 App restructure - closes #245
- This is a first pass at getting a more logical structure. The focus is on moving from admin/frontend to client/server.
- The location of the databases is highly important, this isn't expected to change again
In the future
- client/assets should probably become public/
- more stuff should be shared (helpers etc)
- cleanup some confusion around tpl and views
2013-07-11 20:23:34 +01:00

26 lines
884 B
Handlebars

{{#if messages}}
{{#each messages.error}}
<section class="notification-error js-notification">
{{.}}
<a class="close" href="#"><span class="hidden">Close</span></a>
</section>
{{/each}}
{{#each messages.success}}
<section class="notification-success js-notification">
{{.}}
<a class="close" href="#"><span class="hidden">Close</span></a>
</section>
{{/each}}
{{#each messages.warn}}
<section class="notification-alert js-notification">
{{.}}
<a class="close" href="#"><span class="hidden">Close</span></a>
</section>
{{/each}}
{{#each messages.info}}
<section class="notification js-notification">
{{.}}
<a class="close" href="#"><span class="hidden">Close</span></a>
</section>
{{/each}}
{{/if}}