Return-Path: X-Original-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85AFB102D9 for ; Mon, 1 Jul 2013 16:36:37 +0000 (UTC) Received: (qmail 60903 invoked by uid 500); 1 Jul 2013 16:36:37 -0000 Delivered-To: apmail-incubator-allura-dev-archive@incubator.apache.org Received: (qmail 60604 invoked by uid 500); 1 Jul 2013 16:36:33 -0000 Mailing-List: contact allura-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-dev@incubator.apache.org Received: (qmail 60593 invoked by uid 99); 1 Jul 2013 16:36:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 16:36:31 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noreply@sourceforge.net designates 216.34.181.60 as permitted sender) Received: from [216.34.181.60] (HELO smtp.ch3.sourceforge.com) (216.34.181.60) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 16:36:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.com; s=x; h=Date:Message-ID:Subject:Reply-To:From:To:MIME-Version:Content-Type; bh=g9/MFk3zcNutYjKOo0xuZCEBA15QlROOKnfkQ7QukYU=; b=Bo2dDkeP7ZC9u8faTgkXalG5BtcgokPbAR0vjZqLgkmL1XXzmE1GxvroyaEEV67zuTLHKFDFU+R/oDM5wiv/im9tFNT9dvxQFueo+KDnQfNwNt/UY4D+EvigD6B40M/vfOomMF4Z3BTb16GOV76WXOi6rERHA7EFBRngEixVPus=; Received: from localhost ([127.0.0.1] helo=sfs-alluradaemon-4.v29.ch3.sourceforge.com) by sfs-alluradaemon-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Uth5C-0001HD-Cp for allura-dev@incubator.apache.org; Mon, 01 Jul 2013 16:36:06 +0000 Content-Type: multipart/related; boundary="===============1904236374727418308==" MIME-Version: 1.0 To: "[allura:tickets] " <6211@tickets.allura.p.re.sf.net> From: "Dave Brondsema" Reply-To: "[allura:tickets] " <6211@tickets.allura.p.re.sf.net> Subject: [allura:tickets] #6211 widget template shouldn't extend g.theme.master Message-ID:

Date: Mon, 01 Jul 2013 16:36:06 +0000 X-Virus-Checked: Checked by ClamAV on apache.org --===============1904236374727418308== Content-Type: multipart/alternative; boundary="===============6304672214098034690==" MIME-Version: 1.0 --===============6304672214098034690== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit - **status**: code-review --> closed - **Milestone**: forge-backlog --> forge-jul-12 --- ** [tickets:#6211] widget template shouldn't extend g.theme.master** **Status:** closed **Labels:** stability 42cc **Created:** Tue May 07, 2013 07:35 PM UTC by Dave Brondsema **Last Updated:** Mon Jul 01, 2013 02:43 PM UTC **Owner:** nobody allura/templates/discussion/index.html isn't a full template that extends g.theme.master ON forum browse pages, it eventually calls forgediscussion/templates/discussion_widgets/discussion.html which is a widget template but does extend g.theme.master That is non-standard and has the effect of template globals (like `config`) not being present within the `custom_js` theme macro. We should see if these templates (and any other related ones) can be made more standard, to avoid such issues. --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============6304672214098034690== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
  • status: code-review --> closed
  • Milestone: forge-backlog --> forge-jul-12

[tickets:#6211] widget template shouldn't extend g.theme.master

Status: closed
Labels: stability 42cc
Created: Tue May 07, 2013 07:35 PM UTC by Dave Brondsema
Last Updated: Mon Jul 01, 2013 02:43 PM UTC
Owner: nobody

allura/templates/discussion/index.html isn't a full template that extends g.theme.master ON forum browse pages, it eventually calls forgediscussion/templates/discussion_widgets/discussion.html which is a widget template but does extend g.theme.master That is non-standard and has the effect of template globals (like config) not being present within the custom_js theme macro.

We should see if these templates (and any other related ones) can be made more standard, to avoid such issues.


Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

--===============6304672214098034690==-- --===============1904236374727418308==--