Permalink
Switch branches/tags
Nothing to show
Commits on Nov 2, 2018
  1. Added a proper TwigExtension to solve order-of-loading conflicts w/ r…

    michaelrog committed Nov 2, 2018
    …egistering Twig global. (Fixes #6.) Changed craftcms/cms dependency to use 3.0.
Commits on Jun 5, 2018
Commits on Mar 22, 2018
  1. Updated the docs and example config file to reference the correct set…

    michaelrog committed Mar 22, 2018
    …tings handles for `prefixText` and `suffixText`.
Commits on Mar 8, 2018
  1. Removed a slightly overzealous typehint that causes an error in PHP 7…

    michaelrog committed Mar 8, 2018
    ….0 (since the `void` return type wasn't added until 7.1).
    
    (This fixes issue #1.)
Commits on Dec 31, 2017
  1. Attached the label rendering logic to a later (post-plugin-initializa…

    michaelrog committed Dec 31, 2017
    …tion) event, and removed our Twig extension in favor of a simple global pass-through to the Label service.
    
    This makes a bit more functionality accessible to templates, and it prevents our plugin from trying to use Twig [to render the label text] before other plugins have had a chance to initialize. (If another plugin tried to register a Twig extension after we had already used Twig to render our template, there'd be collisions and error messages and weeping and gnashing of teeth.)
    
    Updated version to 3.1.1.
Commits on Dec 24, 2017