Return-Path: X-Original-To: apmail-marmotta-commits-archive@minotaur.apache.org Delivered-To: apmail-marmotta-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DB07118BE for ; Wed, 10 Sep 2014 09:38:53 +0000 (UTC) Received: (qmail 58740 invoked by uid 500); 10 Sep 2014 09:38:53 -0000 Delivered-To: apmail-marmotta-commits-archive@marmotta.apache.org Received: (qmail 58656 invoked by uid 500); 10 Sep 2014 09:38:52 -0000 Mailing-List: contact commits-help@marmotta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@marmotta.apache.org Delivered-To: mailing list commits@marmotta.apache.org Received: (qmail 58589 invoked by uid 99); 10 Sep 2014 09:38:52 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 09:38:52 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9723E9C43; Wed, 10 Sep 2014 09:38:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: jakob@apache.org To: commits@marmotta.apache.org Date: Wed, 10 Sep 2014 09:38:54 -0000 Message-Id: <7e320dd5f22247cca7453d0d54edfd61@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [03/17] git commit: allowing bnodes navigation from data views allowing bnodes navigation from data views Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/49f30d8f Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/49f30d8f Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/49f30d8f Branch: refs/heads/ldp Commit: 49f30d8faea3b0ace5c958a28dbdb7a3360b436b Parents: d5241ed Author: Sergio Fernández Authored: Fri Aug 1 09:17:39 2014 +0200 Committer: Sergio Fernández Committed: Fri Aug 1 09:17:39 2014 +0200 ---------------------------------------------------------------------- platform/marmotta-core/src/main/resources/web/admin/dataview.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/49f30d8f/platform/marmotta-core/src/main/resources/web/admin/dataview.html ---------------------------------------------------------------------- diff --git a/platform/marmotta-core/src/main/resources/web/admin/dataview.html b/platform/marmotta-core/src/main/resources/web/admin/dataview.html index 9476880..46facb9 100644 --- a/platform/marmotta-core/src/main/resources/web/admin/dataview.html +++ b/platform/marmotta-core/src/main/resources/web/admin/dataview.html @@ -249,9 +249,10 @@ if(d.a.value!=current) { x = 0; current = d.a.value; + param = (current.indexOf("http://") == 0 ? "uri" : "genid"); table = $("", {'class':'resource', 'style':'margin-bottom:10px'}) .append($("
", {'style':"background-color:"+color+" !important", 'colspan':'2'}) - .append($("", {'target':'_blank', 'href':_SERVER_URL+"resource?uri="+encodeURIComponent(d.a.value), 'text':d.a.value}))); + .append($("", {'target':'_blank', 'href':_SERVER_URL+"resource?"+param+"="+encodeURIComponent(current), 'text':current}))); res.append(table); } var style = x%2==0 ? "white" : "#efefef";