From 46e1d9ab232df1c4deb672b72cd7b87081094955 Mon Sep 17 00:00:00 2001
From: maxbr
Date: Wed, 5 Oct 2016 14:10:56 +0200
Subject: Add Installer and Scenario fields to bookings
JIRA: PHAROS-272
Change-Id: I28f44bfadb1dbe3cb0caca0a8038fba988cf26f9
Signed-off-by: maxbr
---
.../src/templates/booking/booking_calendar.html | 8 ++--
.../src/templates/booking/booking_detail.html | 8 ++--
.../src/templates/booking/booking_list.html | 50 ++++++++++++++++++++++
.../src/templates/booking/booking_table.html | 10 +++--
4 files changed, 66 insertions(+), 10 deletions(-)
create mode 100644 pharos-dashboard/src/templates/booking/booking_list.html
(limited to 'pharos-dashboard/src/templates/booking')
diff --git a/pharos-dashboard/src/templates/booking/booking_calendar.html b/pharos-dashboard/src/templates/booking/booking_calendar.html
index de3e3b3..34f425c 100644
--- a/pharos-dashboard/src/templates/booking/booking_calendar.html
+++ b/pharos-dashboard/src/templates/booking/booking_calendar.html
@@ -1,4 +1,4 @@
-{% extends "dashboard/table.html" %}
+{% extends "base.html" %}
{% load staticfiles %}
{% load bootstrap3 %}
@@ -45,7 +45,8 @@
{% bootstrap_field form.end addon_after='' %}
{% bootstrap_field form.purpose %}
-
+ {% bootstrap_field form.installer %}
+ {% bootstrap_field form.scenario %}
{% buttons %}
- Jira:
-
- {{ jira_issue }}
-
+ Installer: {{ booking.installer }}
+
+
+ Scenario: {{ booking.scenario }}
\ No newline at end of file
diff --git a/pharos-dashboard/src/templates/booking/booking_list.html b/pharos-dashboard/src/templates/booking/booking_list.html
new file mode 100644
index 0000000..f2991e4
--- /dev/null
+++ b/pharos-dashboard/src/templates/booking/booking_list.html
@@ -0,0 +1,50 @@
+{% extends "base.html" %}
+{% load staticfiles %}
+
+{% block extrahead %}
+
+
+
+
+
+{% endblock extrahead %}
+
+{% block content %}
+
+
+
+
+
+
+ {% include "booking/booking_table.html" %}
+
+
+
+
+
+
+
+
+
+
+{% endblock content %}
+
+{% block extrajs %}
+
+
+
+
+
+
+
+
+{% endblock extrajs %}
\ No newline at end of file
diff --git a/pharos-dashboard/src/templates/booking/booking_table.html b/pharos-dashboard/src/templates/booking/booking_table.html
index 216eaf5..655b013 100644
--- a/pharos-dashboard/src/templates/booking/booking_table.html
+++ b/pharos-dashboard/src/templates/booking/booking_table.html
@@ -7,7 +7,8 @@
Purpose |
Start |
End |
- Jira |
+ Installer |
+ Scenario |
@@ -25,8 +26,11 @@
{{ booking.end }}
|
- {{ booking.get_jira_issue }}
+ |
+ {{ booking.installer }}
+ |
+
+ {{ booking.scenario }}
|
{% endfor %}
--
cgit 1.2.3-korg