From 4f2af1e2c7f2a64947a0b726d851a21e12655a2d Mon Sep 17 00:00:00 2001
From: Guy Halse <guy@tenet.ac.za>
Date: Wed, 20 Mar 2019 15:32:16 +0200
Subject: [PATCH] Make the module-discopower twig template usable

---
 modules/discopower/locales/en/LC_MESSAGES/discopower.po | 5 ++++-
 modules/discopower/templates/disco.twig                 | 7 ++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/modules/discopower/locales/en/LC_MESSAGES/discopower.po b/modules/discopower/locales/en/LC_MESSAGES/discopower.po
index 30c54b188..b8bed3770 100644
--- a/modules/discopower/locales/en/LC_MESSAGES/discopower.po
+++ b/modules/discopower/locales/en/LC_MESSAGES/discopower.po
@@ -5,7 +5,7 @@ msgstr ""
 "Project-Id-Version: SimpleSAMLphp 1.15\n"
 "Report-Msgid-Bugs-To: simplesamlphp-translation@googlegroups.com\n"
 "POT-Creation-Date: 2016-10-12 09:23+0200\n"
-"PO-Revision-Date: 2016-10-14 12:14+0200\n"
+"PO-Revision-Date: 2019-03-20 15:27+0200\n"
 "Last-Translator: \n"
 "Language: en\n"
 "Language-Team: \n"
@@ -93,3 +93,6 @@ msgstr "Europe (eduGAIN)"
 msgid "InCommon"
 msgstr "InCommon"
 
+msgid "{discopower:tabs:incremental_search}"
+msgstr "Incremental search..."
+
diff --git a/modules/discopower/templates/disco.twig b/modules/discopower/templates/disco.twig
index 27febae5b..032699045 100644
--- a/modules/discopower/templates/disco.twig
+++ b/modules/discopower/templates/disco.twig
@@ -3,13 +3,14 @@
 
 {% block preload %}
     <link rel="stylesheet" media="screen" href="/{{ baseurlpath }}resources/uitheme1.8/jquery-ui.css">
+    <link rel="stylesheet" media="screen" href="/{{ baseurlpath }}module.php/discopower/assets/css/disco.css">
 {% endblock %}
 {% block postload %}
     <script src="/{{ baseurlpath }}resources/jquery-1.8.js"></script>
     <script src="/{{ baseurlpath }}resources/jquery-ui-1.8.js"></script>
-    <script src="/{{ baseurlpath }}module.php/discopower/js/jquery.livesearch.js"></script>
-    <script src="/{{ baseurlpath }}module.php/discopower/js/{{ score }}.js"></script>
-    <script src="/{{ baseurlpath }}module.php/discopower/js/tablist.js"></script>
+    <script src="/{{ baseurlpath }}module.php/discopower/assets/js/jquery.livesearch.js"></script>
+    <script src="/{{ baseurlpath }}module.php/discopower/assets/js/{{ score }}.js"></script>
+    <script src="/{{ baseurlpath }}module.php/discopower/assets/js/tablist.js"></script>
 {% endblock %}
 
 {% block content %}
-- 
GitLab