From 28316a2665f2c40b03a638e54dfdab925ccf4623 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 25 Apr 2016 08:58:32 +0200 Subject: Add survey link for the Prolog hints experiment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … revert in two weeks. --- js/codeq/problem_list.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'js/codeq') diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js index 7f1343d..a281afb 100644 --- a/js/codeq/problem_list.js +++ b/js/codeq/problem_list.js @@ -227,6 +227,16 @@ along with this program. If not, see . */ // title: HTML structure for "name" and "desc" html.push('


'); html.push('
'); + if (li === 'prolog') { + for (i = 0; i < codeq.experiments.length; i++) { + if (codeq.experiments[i]['id'] == 'prolog_hints') { + html.push('
Izpolni anketo o CodeQ.
'); + } + } + } // content: problem directory for (i = 0; i < groups.length; i++) { -- cgit v1.2.1