Remove deprecation warnings in templates: "warning: Dynamic lookup of $varname at /path/to/template:line is deprecated"
Merge branch '2.7to2.8'

* 2.7to2.8:
  Remove deprecation warnings in templates: "warning: Dynamic lookup of $varname at /path/to/template:line is deprecated"