fix #191
This commit is contained in:
parent
b96a991bf7
commit
706fb26569
4 changed files with 18 additions and 2 deletions
7
src/main/webapp/WEB-INF/orig/view/cache.hbs
Normal file
7
src/main/webapp/WEB-INF/orig/view/cache.hbs
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<base href="{{urlLink}}">
|
||||
<div style="border:1px solid #999;margin:5px -1px;padding:0;">
|
||||
<div style="color:#000;background:#ddd;border:1px solid #666;margin:10px 15px;padding:5px;text-align:left;">{{cacheMsg}}</div>
|
||||
</div>
|
||||
{{{hlCache}}}
|
|
@ -21,6 +21,11 @@
|
|||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
<p class="navbar-text pull-right">
|
||||
<c:if test="${!empty username}">
|
||||
<s:link href="/login/logout" styleClass="logout-link">
|
||||
<bean:message key="labels.logout" />
|
||||
</s:link>
|
||||
</c:if>
|
||||
<s:link href="/help" styleClass="help-link">
|
||||
<bean:message key="labels.index_help" />
|
||||
</s:link>
|
||||
|
|
|
@ -79,6 +79,10 @@
|
|||
<c:if test="${!empty username}">
|
||||
<p class="username">
|
||||
<bean:message key="labels.searchheader_username" arg0="${f:h(username)}" />
|
||||
|
|
||||
<s:link href="/login/logout" styleClass="logout-link">
|
||||
<bean:message key="labels.logout" />
|
||||
</s:link>
|
||||
</p>
|
||||
</c:if>
|
||||
</div>
|
||||
|
|
|
@ -28,13 +28,13 @@
|
|||
<ol>
|
||||
<c:forEach var="doc" varStatus="s" items="${documentItems}">
|
||||
<li id="result${s.index}">
|
||||
<h3 class="title">
|
||||
<h3 class="title ellipsis">
|
||||
<a class="link" href="${doc.urlLink}" data-uri="${doc.urlLink}" data-id="${doc.docId}">${f:h(doc.contentTitle)}</a>
|
||||
</h3>
|
||||
<div class="body">
|
||||
<div class="description">${doc.contentDescription}</div>
|
||||
<div class="site ellipsis">
|
||||
<cite>${f:h(doc.site)}</cite>
|
||||
<cite>${f:h(doc.sitePath)}</cite>
|
||||
<c:if test="${doc.hasCache_s_s=='true'}">
|
||||
<a href="cache?docId=${doc.docId}${appendHighlightQueries}" class="cache"><bean:message
|
||||
key="labels.search_result_cache" /></a>
|
||||
|
|
Loading…
Add table
Reference in a new issue