Skip to:

Opened 9 years ago

Last modified 5 years ago

#1883 new enhancement

Smarter template notices — at Version 1

Reported by: alexvorn2 Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.0
Component: Tools - Warnings/Notices Keywords: needs-patch
Cc: stephen@…

Description (last modified by johnjamesjacoby)

Currently, the themes include several hardcoded template notices at the top of various forms and pages. Ideally, these should fall under one dedicated action or template tag, with a loose convention on how to add/remove/modify notices.

This has the positive side-effect of eliminating duplicate code, and strings in the template files themselves. For example, when searching for "account has the ability to post unrestricted HTML" - six results are displayed. This means changing it in 6 different places instead of only once in a function.

Change History (1)

#1 @johnjamesjacoby
9 years ago

  • Description modified (diff)
  • Keywords 2nd-opinion removed
  • Summary changed from remove repetitive text to Smarter template notices

Modified ticket title and description. Valid, but needed a little more meat.

Note: See TracTickets for help on using tickets.