[Branch,~linaro-validation/lava-dashboard/trunk] Rev 235: Use the new extension menu block to provide links to reports and data views.

Message ID 20110629165626.29507.90839.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Paul Larson June 29, 2011, 4:56 p.m.
Merge authors:
  Zygmunt Krynicki (zkrynicki)
Related merge proposals:
  https://code.launchpad.net/~zkrynicki/lava-dashboard/provide-extension-menu/+merge/66308
  proposed by: Zygmunt Krynicki (zkrynicki)
  review: Approve - Paul Larson (pwlars)
------------------------------------------------------------
revno: 235 [merge]
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dashboard
timestamp: Wed 2011-06-29 17:45:42 +0100
message:
  Use the new extension menu block to provide links to reports and data views.
added:
  dashboard_app/templates/dashboard_app/base.html
modified:
  dashboard_app/templates/dashboard_app/api.html
  dashboard_app/templates/dashboard_app/attachment_detail.html
  dashboard_app/templates/dashboard_app/bundle_list.html
  dashboard_app/templates/dashboard_app/bundle_stream_list.html
  dashboard_app/templates/dashboard_app/report_detail.html
  dashboard_app/templates/dashboard_app/report_list.html
  dashboard_app/templates/dashboard_app/test_result_detail.html
  dashboard_app/templates/dashboard_app/test_run_detail.html
  dashboard_app/templates/dashboard_app/test_run_hardware_context.html
  dashboard_app/templates/dashboard_app/test_run_list.html
  dashboard_app/templates/dashboard_app/test_run_software_context.html


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription

Patch

=== modified file 'dashboard_app/templates/dashboard_app/api.html'
--- dashboard_app/templates/dashboard_app/api.html	2011-06-03 03:34:06 +0000
+++ dashboard_app/templates/dashboard_app/api.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load markup %}
 {% load i18n %}
 

=== modified file 'dashboard_app/templates/dashboard_app/attachment_detail.html'
--- dashboard_app/templates/dashboard_app/attachment_detail.html	2011-03-18 14:35:07 +0000
+++ dashboard_app/templates/dashboard_app/attachment_detail.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load humanize %}
 

=== added file 'dashboard_app/templates/dashboard_app/base.html'
--- dashboard_app/templates/dashboard_app/base.html	1970-01-01 00:00:00 +0000
+++ dashboard_app/templates/dashboard_app/base.html	2011-06-29 14:00:01 +0000
@@ -0,0 +1,11 @@ 
+{% extends "base.html" %}
+{% load i18n %}
+
+
+{% block extension_navigation %}
+<ul>
+  <li><a href="{% url dashboard_app.views.bundle_stream_list %}">{% trans "Bundle Streams" %}</a></li>
+  <li><a href="{% url dashboard_app.views.report_list %}">{% trans "Reports" %}</a></li>
+  <li><a href="{% url dashboard_app.views.dashboard_xml_rpc_handler %}">{% trans "XML-RPC (dashboard only)" %}</a></li>
+</ul>
+{% endblock %}

=== modified file 'dashboard_app/templates/dashboard_app/bundle_list.html'
--- dashboard_app/templates/dashboard_app/bundle_list.html	2011-04-06 11:40:40 +0000
+++ dashboard_app/templates/dashboard_app/bundle_list.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load humanize %}
 {% load pagination_tags %}

=== modified file 'dashboard_app/templates/dashboard_app/bundle_stream_list.html'
--- dashboard_app/templates/dashboard_app/bundle_stream_list.html	2011-05-25 13:23:18 +0000
+++ dashboard_app/templates/dashboard_app/bundle_stream_list.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load pagination_tags %}
 

=== modified file 'dashboard_app/templates/dashboard_app/report_detail.html'
--- dashboard_app/templates/dashboard_app/report_detail.html	2011-06-03 03:34:06 +0000
+++ dashboard_app/templates/dashboard_app/report_detail.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 
 {% load i18n %}
 {% load stylize %}

=== modified file 'dashboard_app/templates/dashboard_app/report_list.html'
--- dashboard_app/templates/dashboard_app/report_list.html	2011-04-28 02:05:09 +0000
+++ dashboard_app/templates/dashboard_app/report_list.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 
 {% block title %}

=== modified file 'dashboard_app/templates/dashboard_app/test_result_detail.html'
--- dashboard_app/templates/dashboard_app/test_result_detail.html	2011-04-05 17:12:20 +0000
+++ dashboard_app/templates/dashboard_app/test_result_detail.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load humanize %}
 {% load pagination_tags %}

=== modified file 'dashboard_app/templates/dashboard_app/test_run_detail.html'
--- dashboard_app/templates/dashboard_app/test_run_detail.html	2011-05-03 20:08:05 +0000
+++ dashboard_app/templates/dashboard_app/test_run_detail.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load humanize %}
 {% load pagination_tags %}

=== modified file 'dashboard_app/templates/dashboard_app/test_run_hardware_context.html'
--- dashboard_app/templates/dashboard_app/test_run_hardware_context.html	2011-04-06 10:27:29 +0000
+++ dashboard_app/templates/dashboard_app/test_run_hardware_context.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load humanize %}
 {% load pagination_tags %}

=== modified file 'dashboard_app/templates/dashboard_app/test_run_list.html'
--- dashboard_app/templates/dashboard_app/test_run_list.html	2011-06-03 03:34:06 +0000
+++ dashboard_app/templates/dashboard_app/test_run_list.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load humanize %}
 {% load pagination_tags %}

=== modified file 'dashboard_app/templates/dashboard_app/test_run_software_context.html'
--- dashboard_app/templates/dashboard_app/test_run_software_context.html	2011-04-06 10:13:41 +0000
+++ dashboard_app/templates/dashboard_app/test_run_software_context.html	2011-06-29 14:00:01 +0000
@@ -1,4 +1,4 @@ 
-{% extends "base.html" %}
+{% extends "dashboard_app/base.html" %}
 {% load i18n %}
 {% load humanize %}
 {% load pagination_tags %}