Fixed minor template bugs
diff --git a/Changes b/Changes
index efe2e30..6411d84 100755
--- a/Changes
+++ b/Changes
@@ -1,3 +1,8 @@
+0.09 2014-12-21
+ - Added new API module
+ - Fixed time_exceeded bug
+ - Fixed test_port bug for inspection button
+
0.08 2014-11-19
- Added new suggestion module
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 160b8e9..5f2951c 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -50,7 +50,7 @@
<div id="searchbar">
%= search_field 'q', id => 'q-field', autofocus => 'autofocus', placeholder => 'Find ...'
<button type="submit"><i class="fa fa-search"></i></button>
-% if (stash('test_port')) {
+% if (korap_test_port()) {
<button type="submit" name="action" value="inspect"><i class="fa fa-code"></i></button>
% };
<i onclick="hint.popUp()" class="fa fa-arrow-circle-down show-hint"></i>
diff --git a/templates/search.html.ep b/templates/search.html.ep
index ee24e79..242a8d9 100644
--- a/templates/search.html.ep
+++ b/templates/search.html.ep
@@ -9,7 +9,7 @@
% my $found = search->total_results;
% if ($found == -1) {
% $found = 'unknown amount of';
-% } elsif (search->timeExceeded) {
+% } elsif (search->time_exceeded) {
% $found = 'more than ' . $found;
% };
<span id="total-results"><%= $found %> matches</span>