toaster: Link to image recipes
PATCH 1/1 toaster: Link to image recipes
From: Belen Barros Pena <[email protected]>
The project created notifications and the 'Choose a recipe to build' link in the project page are linking to the software recipes table.
Change them to link to the image recipes table instead, which is bound to be more useful.
--- bitbake/lib/toaster/toastergui/templates/project.html | 2 +- bitbake/lib/toaster/toastergui/templates/projecttopbar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/toaster/toastergui/templates/project.html +1 -1
@@ -67,7 +67,7 @@ <div class="alert alert-info" style="display:none" id="no-most-built"> <span class="lead">You haven't built any recipes yet</span> - <p style="margin-top: 10px;"><a href="{% url 'projectsoftwarerecipes' project.id %}">Choose a recipe to build</a></p> + <p style="margin-top: 10px;"><a href="{% url 'projectimagerecipes' project.id %}">Choose a recipe to build</a></p> </div> <ul class="unstyled configuration-list" id="freq-build-list">
bitbake/lib/toaster/toastergui/templates/projecttopbar.html +1 -1
@@ -1,6 +1,6 @@ <div class="alert alert-success lead" id="project-created-notification" style="margin-top:15px; display:none"> <button type="button" class="close" data-dismiss="alert">×</button> - Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectsoftwarerecipes' project.id %}">choose image recipes</a> to build. + Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectimagerecipes' project.id %}">choose image recipes</a> to build. </div> <!-- project name -->
Signature · 1 line
2.3.8 (Apple Git-58)
Thanks upstreamed and pushed to toaster-next with additions to make commit message more descriptive.
Quoted 42 lines · Belen Barros Pena
From: Belen Barros Pena <[email protected]>
The project created notifications and the 'Choose a recipe to build' link in the project page are linking to the software recipes table.
Change them to link to the image recipes table instead, which is bound to be more useful.
Signed-off-by Belen Barros Pena <[email protected]>--- bitbake/lib/toaster/toastergui/templates/project.html | 2 +- bitbake/lib/toaster/toastergui/templates/projecttopbar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)bitbake/lib/toaster/toastergui/templates/project.html +1
-1@@ -67,7 +67,7 @@ <div class="alert alert-info" style="display:none" id="no-most-built"> <span class="lead">You haven't built any recipes yet</span> - <p style="margin-top: 10px;"><a href="{% url 'projectsoftwarerecipes' project.id %}">Choose a recipe to build</a></p> + <p style="margin-top: 10px;"><a href="{% url 'projectimagerecipes' project.id %}">Choose a recipe to build</a></p> </div> <ul class="unstyled configuration-list" id="freq-build-list">bitbake/lib/toaster/toastergui/templates/projecttopbar.html +1
-1@@ -1,6 +1,6 @@ <div class="alert alert-success lead" id="project-created-notification" style="margin-top:15px; display:none"> <button type="button" class="close" data-dismiss="alert">×</button> - Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectsoftwarerecipes' project.id %}">choose image recipes</a> to build. + Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectimagerecipes' project.id %}">choose image recipes</a> to build. </div> <!-- project name -->
Thanks sent upstream and toaster-next with some additional detail in the commit message
Quoted 42 lines · Belen Barros Pena
From: Belen Barros Pena <[email protected]>
The project created notifications and the 'Choose a recipe to build' link in the project page are linking to the software recipes table.
Change them to link to the image recipes table instead, which is bound to be more useful.
Signed-off-by Belen Barros Pena <[email protected]>--- bitbake/lib/toaster/toastergui/templates/project.html | 2 +- bitbake/lib/toaster/toastergui/templates/projecttopbar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)bitbake/lib/toaster/toastergui/templates/project.html +1
-1@@ -67,7 +67,7 @@ <div class="alert alert-info" style="display:none" id="no-most-built"> <span class="lead">You haven't built any recipes yet</span> - <p style="margin-top: 10px;"><a href="{% url 'projectsoftwarerecipes' project.id %}">Choose a recipe to build</a></p> + <p style="margin-top: 10px;"><a href="{% url 'projectimagerecipes' project.id %}">Choose a recipe to build</a></p> </div> <ul class="unstyled configuration-list" id="freq-build-list">bitbake/lib/toaster/toastergui/templates/projecttopbar.html +1
-1@@ -1,6 +1,6 @@ <div class="alert alert-success lead" id="project-created-notification" style="margin-top:15px; display:none"> <button type="button" class="close" data-dismiss="alert">×</button> - Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectsoftwarerecipes' project.id %}">choose image recipes</a> to build. + Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectimagerecipes' project.id %}">choose image recipes</a> to build. </div> <!-- project name -->