• 
      

    Define a global-vars block for all global variable definitions.

    Review Request #10954 — Created March 13, 2020 and submitted

    Information

    Review Board
    release-4.0.x

    Reviewers

    This is a simple change that introduces a new global-vars block in the
    base template, which child templates can use to register global
    variables (through the new {% definevar "..." global %} support in
    Djblets). Any global variables defined here will be usable in any other
    block in the template, and are a good place to define IDs, URLs, or
    blocks of HTML that need to be used in multiple independent blocks.

    The new block will be used in an upcoming change shortly.

    Made use of this in an upcoming change. Verified that the variables were
    usable in other blocks.

    Summary ID
    Define a global-vars block for all global variable definitions.
    This is a simple change that introduces a new `global-vars` block in the base template, which child templates can use to register global variables (through the new `{% definevar "..." global %}` support in Djblets). Any global variables defined here will be usable in any other block in the template, and are a good place to define IDs, URLs, or blocks of HTML that need to be used in multiple independent blocks. The new block will be used in an upcoming change shortly.
    2da48643f2bcf307bd2abfb8946aaa802f35cfe9
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.0.x (3fb503e)