NIHVIVO-2836 Include suggestion to rebuild search index when displaying empty menu pages and site index.
This commit is contained in:
parent
999659dbcf
commit
8a623e5bc5
3 changed files with 23 additions and 1 deletions
|
@ -58,11 +58,29 @@
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
#flash-message{
|
#flash-message {
|
||||||
background-color: #7285a0;
|
background-color: #7285a0;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
margin-bottom: 10px;
|
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*/
|
/* <------ INDEX PAGE*/
|
||||||
.siteMap h2 {
|
.siteMap h2 {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#assign noDataNotification>
|
<#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>
|
<h3>There is currently no content in the system</h3>
|
||||||
|
|
||||||
<#if user.loggedIn>
|
<#if user.loggedIn>
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#assign noDataNotification>
|
<#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>
|
<h3>There is currently no ${page.title} content in the system</h3>
|
||||||
<#if user.loggedIn>
|
<#if user.loggedIn>
|
||||||
<#if user.hasSiteAdminAccess>
|
<#if user.hasSiteAdminAccess>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue