NIHVIVO-2836 Include suggestion to rebuild search index when displaying empty menu pages and site index.

This commit is contained in:
cappadona 2011-07-13 17:01:44 +00:00
parent 999659dbcf
commit 8a623e5bc5
3 changed files with 23 additions and 1 deletions

View file

@ -58,11 +58,29 @@
font-size: .9em;
line-height: 30px;
}
#flash-message{
#flash-message {
background-color: #7285a0;
padding: .5em;
margin-bottom: 10px;
}
.rebuildSearchIndex {
float: right;
padding: .6em;
background: #ffc;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
.rebuildSearchIndex h4,
.rebuildSearchIndex p {
margin: 0;
padding: 0;
}
.rebuildSearchIndex p {
font-size: .8em;
}
/* <------ INDEX PAGE*/
.siteMap h2 {
padding-bottom: 0;

View file

@ -15,6 +15,8 @@
</#if>
<#assign noDataNotification>
<span class="rebuildSearchIndex"><h4>Expecting content?</h4> <p>Try <a title="Rebuild the search index for this site" href="${urls.base}/SearchIndex">rebuilding the search index</a>.</p></span>
<h3>There is currently no content in the system</h3>
<#if user.loggedIn>

View file

@ -18,6 +18,8 @@
</#if>
<#assign noDataNotification>
<span class="rebuildSearchIndex"><h4>Expecting content?</h4> <p>Try <a title="Rebuild the search index for this site" href="${urls.base}/SearchIndex">rebuilding the search index</a>.</p></span>
<h3>There is currently no ${page.title} content in the system</h3>
<#if user.loggedIn>
<#if user.hasSiteAdminAccess>