← Back to team overview

touch-packages team mailing list archive

[Bug 1409307] Re: attributes dont show without title

 

with "title" component, so attributes show

** Attachment added: "with-attributes.png"
   https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1409307/+attachment/4295330/+files/with-attributes.png

** Also affects: savilerow
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1409307

Title:
  attributes dont show without title

Status in The Savilerow project:
  New
Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  I want to display category attributes but not titles (for the number
  of Likes under each picture in Facebook Photos scope).

  But, it seems attributes do not display unless I add a title
  component.

  So with this catrenderer, attributes do NOT display:

  {
      "schema-version" : 1,
      "template" : { 
          "category-layout" : "grid",
          "card-size": "small"
      },  
      "components" : { 
          "art" : "art",
          "attributes": "attrs"
      }   
  }

  And with this one attributes DO display:
  {
      "schema-version" : 1,
      "template" : { 
          "category-layout" : "grid",
          "card-size": "small"
      },  
      "components" : { 
          "title": "title",
          "art" : "art",
          "attributes": "attrs"
      }   
  }

  phablet@ubuntu-phablet:~$ apt-cache policy libunity-scopes3
  libunity-scopes3:
    Instalados: 0.6.9+15.04.20141216.2~rtm-0ubuntu

  
  See images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1409307/+subscriptions


References