From 2e46111b4ba9dcee4f6394eb3e40943a721dbae1 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Thu, 28 Jun 2018 17:02:04 +0100 Subject: [PATCH] Add explanation about using template cache directly. --- services/web/public/coffee/base.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/web/public/coffee/base.coffee b/services/web/public/coffee/base.coffee index 370823703a..cb9e70b6bf 100644 --- a/services/web/public/coffee/base.coffee +++ b/services/web/public/coffee/base.coffee @@ -28,6 +28,9 @@ define [ }) App.run ($templateCache) -> + # UI Select templates are hard-coded and use Glyphicon icons (which we don't import). + # The line below simply overrides the hard-coded template with our own, which is + # basically the same but using Font Awesome icons. $templateCache.put "bootstrap/match.tpl.html", "
{{$select.placeholder}}
" sl_debugging = window.location?.search?.match(/debug=true/)?