Fixed id match reference bug and added tutorial: wildcards
diff --git a/templates/match.html.ep b/templates/match.html.ep
index 99e6171..5ec0742 100644
--- a/templates/match.html.ep
+++ b/templates/match.html.ep
@@ -2,7 +2,7 @@
<li data-corpus-id="<%= $match->{corpusID} %>"
data-doc-id="<%= $match->{docID} %>"
data-match-id="<%= $match->{ID} %>"
- id="<%= $match->{ID} %>"
+ id="<%= $match->{corpusID} %>-<%= $match->{docID} %>-<%= $match->{ID} %>"
<% if (current_route eq 'match') { %>class="active"<% } %>
>
<div>
@@ -22,7 +22,7 @@
% if (current_route ne 'match') {
<li class="close" title="Close"><a href="#"><i class="fa fa-toggle-up"></a></i></li>
%# <li class="open" title="Open in new tab"><%= link_to 'match', { corpus_id => $match->{corpusID}, doc_id => $match->{docID}, match_id => $match->{ID} }, target => '_blank', begin %><i class="fa fa-external-link-square"></i><% end %></li>
- <li class="open" title="Open in new tab"><a href="#<%= $match->{ID} %>" target="_blank"><i class="fa fa-external-link-square"></i></a></li>
+ <li class="open" title="Open in new tab"><a href="#<%= $match->{corpusID} %>-<%= $match->{docID} %>-<%= $match->{ID} %>" target="_blank"><i class="fa fa-external-link-square"></i></a></li>
% }
<li onclick="showTable(this)" title="Annotations"><i class="fa fa-info-circle"></i></li>
diff --git a/templates/tutorial/wildcards.html.ep b/templates/tutorial/wildcards.html.ep
new file mode 100644
index 0000000..39f6fa1
--- /dev/null
+++ b/templates/tutorial/wildcards.html.ep
@@ -0,0 +1,18 @@
+% content main => begin
+
+<h2>KorAP-Tutorial: Wildcards</h2>
+
+<p><%= korap_tut_link_to 'Back to Index', '/tutorial' %></p>
+
+<p>The support for wildcard terms in KorAP may be backend dependend. Below you can find the description for the respective backends.</p>
+
+<section id="tut-lucene">
+<h3>Lucene</h3>
+
+<blockquote>
+ <p>Description still missing.</p>
+</blockquote>
+
+</section>
+
+% end