[yocto] [layerindex-web][PATCH 1/2] context_processors.py: adjust default site name

Paul Eggleton paul.eggleton at linux.intel.com
Sun Mar 25 12:31:00 PDT 2018


Default site name should be Layer Index, not metadata index as it was
before.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 layerindex/context_processors.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/layerindex/context_processors.py b/layerindex/context_processors.py
index e2852ee..c21c4a9 100644
--- a/layerindex/context_processors.py
+++ b/layerindex/context_processors.py
@@ -12,10 +12,10 @@ def layerindex_context(request):
     if site and site.name and site.name != 'example.com':
         site_name = site.name
     else:
-        site_name = 'OpenEmbedded metadata index'
+        site_name = 'OpenEmbedded Layer Index'
     return {
         'all_branches': Branch.objects.exclude(name='oe-classic').order_by('sort_priority'),
         'unpublished_count': LayerItem.objects.filter(status='N').count(),
         'oe_classic': Branch.objects.filter(name='oe-classic'),
         'site_name': site_name
-    }
\ No newline at end of file
+    }
-- 
2.14.3




More information about the yocto mailing list