couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Keen (JIRA)" <>
Subject [jira] [Created] (COUCHDB-2512) Provide prefab way to get "<" into Breadcrumbs
Date Fri, 12 Dec 2014 20:46:13 GMT
Ben Keen created COUCHDB-2512:

             Summary: Provide prefab way to get "<" into Breadcrumbs
                 Key: COUCHDB-2512
             Project: CouchDB
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Fauxton
            Reporter: Ben Keen

The way we're getting the "<" image to appear in the Breadcrumbs section is by specifying
the breadcrumb details like so:

{ "name": "", "className": "fonticon-left-open", "link": "/_all_dbs" },

The generated markup for that segment is the same as the other breadcrumb items.

For COUCHDB-2507, it requires a subtle difference in the way that item is styled. In that
ticket we have the first "<" followed by a line, followed by the ID of the document. The
problem is that with the given markup, I can't differentiate that from the Database ->
Permissions page. For that page, we don't want the line to appear. 

This ticket is to offer a prefab solution to adding the "<" into the breadcrumbs, like

{ "type": "back", "link": "/_all_dbs" },

This will output a particular class on the "<" <div> element so that it can be styled
appropriately, thus differentiating it from other pages.

It's backward compatible.

This message was sent by Atlassian JIRA

View raw message