diff options
Diffstat (limited to 'src/templates/notifier')
-rw-r--r-- | src/templates/notifier/end_booking.html | 2 | ||||
-rw-r--r-- | src/templates/notifier/inbox.html | 2 | ||||
-rw-r--r-- | src/templates/notifier/new_booking.html | 2 | ||||
-rw-r--r-- | src/templates/notifier/notification.html | 8 |
4 files changed, 9 insertions, 5 deletions
diff --git a/src/templates/notifier/end_booking.html b/src/templates/notifier/end_booking.html index 22014fb..a2981c1 100644 --- a/src/templates/notifier/end_booking.html +++ b/src/templates/notifier/end_booking.html @@ -30,7 +30,7 @@ </li> </ul> - <p>You can find more detailed information <a href=/booking/detail/{{booking.id/>Here</a></p> + <p>You can find more detailed information <a href=/booking/detail/{{booking.id}}/>Here</a></p> </div> </body> </html> diff --git a/src/templates/notifier/inbox.html b/src/templates/notifier/inbox.html index c0ee1ba..471eae4 100644 --- a/src/templates/notifier/inbox.html +++ b/src/templates/notifier/inbox.html @@ -56,7 +56,7 @@ <div class="inbox-panel"> <div class="section-panel"> <div class="card-container"> - {% for notification in notifier_messages %} + {% for notification in notifications %} <div class="inbox-entry card" onclick="showmessage({{notification.id}}); setactive(this);"> {{ notification }} </div> diff --git a/src/templates/notifier/new_booking.html b/src/templates/notifier/new_booking.html index 4b53875..d23b12e 100644 --- a/src/templates/notifier/new_booking.html +++ b/src/templates/notifier/new_booking.html @@ -28,7 +28,7 @@ </li> </ul> - <p>You can find more detailed information <a href=/booking/detail/{{booking.id/>Here</a></p> + <p>You can find more detailed information <a href=/booking/detail/{{booking.id}}/>Here</a></p> </div> </body> </html> diff --git a/src/templates/notifier/notification.html b/src/templates/notifier/notification.html index 1258fe0..65d26c9 100644 --- a/src/templates/notifier/notification.html +++ b/src/templates/notifier/notification.html @@ -1,4 +1,8 @@ -{% load staticfiles %} +{% extends "layout.html" %} +{% block extrahead %} +<base target="_parent"> +{% endblock %} +{% block basecontent %} <div class="card-container"> <h3 class="msg_header">{{notification.title}}</h3> <p class="content"></p> @@ -6,7 +10,6 @@ {{notification.content|safe}} </pre> -<p class="sender">Message from {{notification.sender}}</p> </div> <style media="screen"> @@ -32,3 +35,4 @@ </style> +{% endblock %} |