Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #7270 (closed)

Opened 12 years ago

Closed 12 years ago

moving custom tag assignment to every single block

Reported by: atarkowska Owned by: atarkowska
Priority: blocker Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-11-29 (3)

Description (last modified by atarkowska)

In every inherited template any code outside blocks redefinitions is not executed. So in this case {% get_static_webclient_prefix as STATIC_WEBCLIENT_PREFIX %} has to be called inside each block or use context processor for setting "global" variable.

Change History (3)

comment:1 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:2 Changed 12 years ago by atarkowska

  • Component changed from General to Web
  • Description modified (diff)
  • Priority changed from minor to blocker

comment:3 Changed 12 years ago by atarkowska

  • Remaining Time changed from 1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

This task is no longer valid as static prefix was register with context processor, like in #7262

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68267 sec.)

We're Hiring!