commit | b40ddad573f9352d869ebb0955415dd532513c3b | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Mon Jun 23 15:39:18 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Mon Jun 23 15:39:18 2014 +0000 |
tree | 7d5bc58a3f8db03ad1de998d36e3c0338973547b | |
parent | dd9d8d730878ac1f58d886d6352bf1165d7fa161 [diff] [blame] |
Test user switch
diff --git a/templates/query.html.ep b/templates/query.html.ep index 3485296..c6c17d5 100644 --- a/templates/query.html.ep +++ b/templates/query.html.ep
@@ -1,6 +1,6 @@ % use JSON::XS; -% if (stash('search.query')) { +% if (stash('search.query') && stash('test_port')) { % state $json = JSON::XS->new->allow_blessed->pretty; <code class="query serial<% if (param('action') eq 'inspect') { %> active<% } %>"> <span>JSON-LD Serialization for <%= param 'q' %> (<%= param 'ql' %>)</span>