From cbf3d652dcbfc1db527eb13cd796fa57d8ff3748 Mon Sep 17 00:00:00 2001
From: Michael Wood
Date: Thu, 19 Mar 2015 11:09:43 +0000
Subject: [PATCH] toaster: Project page fix targets url and tooltip placement
Make sure we point to the all targets page for the notification links.
Also fix the tooltip placements and a minor typo on the targets page.
[YOCTO #7480]
Signed-off-by: Michael Wood
---
lib/toaster/toastergui/templates/project.html | 4 ++--
lib/toaster/toastergui/templates/targets.html | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/toaster/toastergui/templates/project.html b/lib/toaster/toastergui/templates/project.html
index 0f538b9ffbc..65c0919bc90 100644
--- a/lib/toaster/toastergui/templates/project.html
+++ b/lib/toaster/toastergui/templates/project.html
@@ -299,7 +299,7 @@ vim: expandtab tabstop=2
Import layer
@@ -434,7 +434,7 @@ angular.element(document).ready(function() {
scope.urls.xhr_edit = "{% url 'xhr_projectedit' project.id %}";
scope.urls.xhr_datatypeahead = "{% url 'xhr_datatypeahead' %}";
scope.urls.layers = "{% url 'layers' %}";
- scope.urls.targets = "{% url 'targets' %}";
+ scope.urls.targets = "{% url 'all-targets' %}";
scope.urls.importlayer = "{% url 'importlayer'%}";
scope.urls.layer = "{% url 'base_layerdetails' %}";
scope.project = {{prj|json}};
diff --git a/lib/toaster/toastergui/templates/targets.html b/lib/toaster/toastergui/templates/targets.html
index f918d6cff22..27ff2be9284 100644
--- a/lib/toaster/toastergui/templates/targets.html
+++ b/lib/toaster/toastergui/templates/targets.html
@@ -38,7 +38,7 @@
{% else %}
- Toaster has not target information. To generate target information you can:
+ Toaster has no target information. To generate target information you can: