From 160eb7f88036d997d555520df204bf37aeb22f77 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Tue, 10 Jun 2014 01:22:43 -0400 Subject: confirm modal, alert modal --- views/docs.ejs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'views/docs.ejs') diff --git a/views/docs.ejs b/views/docs.ejs index fee5545..e3f0823 100644 --- a/views/docs.ejs +++ b/views/docs.ejs @@ -12,15 +12,19 @@ [[ if (! isNew) { ]]

[[- doc.displayName ]]

- - [[ if (user.isStaff) { ]] - Edit this document - [[ include partials/edit-documentation ]] - [[ } ]]
[[- content ]]
+ + [[ if (user.isStaff) { ]] +
+ New Document | + Edit | + Delete + [[ include partials/edit-documentation ]] +
+ [[ } ]] [[ } else { ]] [[ if (doc.name !== "new") { ]] @@ -39,6 +43,7 @@ [[ } ]] + [[ include partials/confirm-modal ]] [[ include partials/sign-in ]] [[ include partials/footer ]] -- cgit v1.2.3-70-g09d2