diff options
author | Pacien TRAN-GIRARD | 2015-02-05 20:37:05 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-02-05 20:37:05 +0100 |
commit | de24f5b788c1ae6307eb360877ea3ce61c8f7a6a (patch) | |
tree | 7b2e454edb9901ae7cc2386659cff92bfb6c8486 /app/views/templates | |
parent | 9f6ba6c47e90640abb8203986acd1562fd48b84d (diff) | |
download | minibay-de24f5b788c1ae6307eb360877ea3ce61c8f7a6a.tar.gz |
Implement flash messages
Diffstat (limited to 'app/views/templates')
-rw-r--r-- | app/views/templates/ebe.scala.html | 2 | ||||
-rw-r--r-- | app/views/templates/main.scala.html | 4 | ||||
-rw-r--r-- | app/views/templates/pepal.scala.html | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/app/views/templates/ebe.scala.html b/app/views/templates/ebe.scala.html index dbc1a88..2bab310 100644 --- a/app/views/templates/ebe.scala.html +++ b/app/views/templates/ebe.scala.html | |||
@@ -1,3 +1,3 @@ | |||
1 | @(title: String)(content: Html) | 1 | @(title: String)(content: Html)(implicit flash: Flash) |
2 | 2 | ||
3 | @templates.main{@fragments.ebeLogo()}{@fragments.ebeSlogan()}(title)(content) | 3 | @templates.main{@fragments.ebeLogo()}{@fragments.ebeSlogan()}(title)(content) |
diff --git a/app/views/templates/main.scala.html b/app/views/templates/main.scala.html index dadfc03..278b205 100644 --- a/app/views/templates/main.scala.html +++ b/app/views/templates/main.scala.html | |||
@@ -1,4 +1,4 @@ | |||
1 | @(logo: Html)(slogan: Html)(title: String)(content: Html) | 1 | @(logo: Html)(slogan: Html)(title: String)(content: Html)(implicit flash: Flash) |
2 | 2 | ||
3 | <!DOCTYPE html> | 3 | <!DOCTYPE html> |
4 | 4 | ||
@@ -50,6 +50,8 @@ | |||
50 | </div> | 50 | </div> |
51 | </header> | 51 | </header> |
52 | 52 | ||
53 | <div class="flash-message">@fragments.flashBanner()</div> | ||
54 | |||
53 | <div class="content">@content</div> | 55 | <div class="content">@content</div> |
54 | 56 | ||
55 | <footer> | 57 | <footer> |
diff --git a/app/views/templates/pepal.scala.html b/app/views/templates/pepal.scala.html index e71482d..ec6d5dd 100644 --- a/app/views/templates/pepal.scala.html +++ b/app/views/templates/pepal.scala.html | |||
@@ -1,3 +1,3 @@ | |||
1 | @(title: String)(content: Html) | 1 | @(title: String)(content: Html)(implicit flash: Flash) |
2 | 2 | ||
3 | @templates.main{@fragments.pepalLogo()}{@fragments.pepalSlogan()}(title)(content) | 3 | @templates.main{@fragments.pepalLogo()}{@fragments.pepalSlogan()}(title)(content) |