summaryrefslogtreecommitdiffstats
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-rw-r--r--trunk/etherpad/src/templates/tag/tag_search.ejs13
1 files changed, 8 insertions, 5 deletions
diff --git a/trunk/etherpad/src/templates/tag/tag_search.ejs b/trunk/etherpad/src/templates/tag/tag_search.ejs
index c7a1d4e..ccf38ff 100644
--- a/trunk/etherpad/src/templates/tag/tag_search.ejs
+++ b/trunk/etherpad/src/templates/tag/tag_search.ejs
@@ -110,7 +110,7 @@ limitations under the License. */ %>
<% } %>
<h1>Matching pads</h1>
- <ul>
+ <dl>
<% for (i = 0; i < matchingPads.length; i++) { %>
<%
var matchingPadId = matchingPads[i].ID;
@@ -120,11 +120,14 @@ limitations under the License. */ %>
matchingPadUrl = 'ep/pad/view/' + matchingPadId + '/latest';
}
%>
- <li>
- <h2><a href="/<%= matchingPadUrl %>"><%= matchingPadId %></a><h2>
- </li>
+ <dt><a href="/<%= matchingPadUrl %>"><%= matchingPadId %></a><dt>
+ <dd>
+ <% for (j = 0; j < matchingPads[i].TAGS.length; j++) { %>
+ <a href="/ep/tag/?query=<%= tagsToQuery(tags.filter(function (tag) { return tag != matchingPads[i].TAGS[j]}), antiTags) %>" class="tag" title="<%= matchingPads[i].TAGS[j] %> matches"><%= matchingPads[i].TAGS[j] %></a>
+ <% } %>
+ </dd>
<% } %>
- </ul>
+ </dl>
</div>
</div>
</div><!-- /padeditor -->