[oe-commits] [bitbake] 10/19: toaster: make 'configuration' the first tab

git at git.openembedded.org git at git.openembedded.org
Fri Feb 26 17:59:12 UTC 2016


rpurdie pushed a commit to branch master
in repository bitbake.

commit ccb90019489c2c324c2a5a60295e02280a2ec18f
Author: Belen Barros Pena <belen.barros.pena at intel.com>
AuthorDate: Mon Feb 22 09:08:38 2016 +0000

    toaster: make 'configuration' the first tab
    
    Our project pages have 4 tabs: builds, configuration, import layer and
    new custom image. Even though we treat the 'configuration' as the
    default tab, it comes second after the builds tab.
    
    That's a bit strange: the default tab should be the first one listed.
    This patch changes the tab order to put 'configuration' first.
    
    Signed-off-by: Belen Barros Pena <belen.barros.pena at intel.com>
    Signed-off-by: Elliot Smith <elliot.smith at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/toaster/toastergui/templates/projecttopbar.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/toaster/toastergui/templates/projecttopbar.html b/lib/toaster/toastergui/templates/projecttopbar.html
index 5bc1ac4..268a99e 100644
--- a/lib/toaster/toastergui/templates/projecttopbar.html
+++ b/lib/toaster/toastergui/templates/projecttopbar.html
@@ -44,17 +44,17 @@
 {% if not project.is_default %}
   <div id="project-topbar">
     <ul class="nav nav-pills">
-      <li>
-        <a href="{% url 'projectbuilds' project.id %}">
-          Builds ({{project.get_number_of_builds}})
-        </a>
-      </li>
       <li id="topbar-configuration-tab">
         <a href="{% url 'project' project.id %}">
           Configuration
         </a>
       </li>
       <li>
+        <a href="{% url 'projectbuilds' project.id %}">
+          Builds ({{project.get_number_of_builds}})
+        </a>
+      </li>
+      <li>
         <a href="{% url 'importlayer' project.id %}">
           Import layer
         </a>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list