Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74FBB107FE for ; Fri, 12 Dec 2014 20:47:14 +0000 (UTC) Received: (qmail 48333 invoked by uid 500); 12 Dec 2014 20:47:13 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 48202 invoked by uid 500); 12 Dec 2014 20:47:13 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 47997 invoked by uid 99); 12 Dec 2014 20:47:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2014 20:47:13 +0000 Date: Fri, 12 Dec 2014 20:47:13 +0000 (UTC) From: "Ben Keen (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (COUCHDB-2512) Provide prefab way to get "<" into Breadcrumbs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Keen reassigned COUCHDB-2512: --------------------------------- Assignee: Ben Keen > Provide prefab way to get "<" into Breadcrumbs > ---------------------------------------------- > > Key: COUCHDB-2512 > URL: https://issues.apache.org/jira/browse/COUCHDB-2512 > Project: CouchDB > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Fauxton > Reporter: Ben Keen > Assignee: Ben Keen > > The way we're getting the "<" image to appear in the Breadcrumbs section is by specifying the breadcrumb details like so: > {code:javascript} > { "name": "", "className": "fonticon-left-open", "link": "/_all_dbs" }, > {code} > 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 so: > {code:javascript} > { "type": "back", "link": "/_all_dbs" }, > {code} > This will output a particular class on the "<"
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 (v6.3.4#6332)