Merge branch 'jordan' of ssh://git.onelab.eu/git/myslice into jordan
authorLoic Baron <loic.baron@lip6.fr>
Fri, 23 Aug 2013 09:10:12 +0000 (11:10 +0200)
committerLoic Baron <loic.baron@lip6.fr>
Fri, 23 Aug 2013 09:10:12 +0000 (11:10 +0200)
Conflicts:
myslice/viewutils.py

1  2 
myslice/viewutils.py
portal/views.py

@@@ -23,9 -23,10 +23,9 @@@ def topmenu_items (current,request=None
      else:
          result = []
          result.append({'label':'Home', 'href': '/login'})
-         result.append({ 'label':'Register', 'href': '/portal/user/register/'})
+         result.append({ 'label':'Register', 'href': '/portal/register/'})
 -        result.append({'label':'Contact Support', 'href': '/portal/contact/'})
      result.append({'label':'Platforms', 'href': '/portal/platforms/'})
 +    result.append({'label':'Contact Support', 'href': '/portal/contact/'})
      for d in result:
          #if d['label'].lower()find(current)>=0: d['is_active']=True
          if d['label'] == current: d['is_active']=True
diff --cc portal/views.py
Simple merge