Skip to content

Commit

Permalink
Fix typo for no results
Browse files Browse the repository at this point in the history
Fixes #2427
  • Loading branch information
Nicklas Gummesson committed Feb 25, 2015
1 parent 0b3c4f5 commit ee78fab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
</div>
<h4 class="IntermediateInfo-title">
<% if (page > 1 || totalItems === 0 && totalEntries > 0) { %>
There are no results in this page
There are no results in this page
<% } %>

<% if (( tag || q ) && totalItems === 0 && totalEntries === 0) { %>
0 <%= tag || q %> <%= type %> found
<% } %>

<% if (page === 1 && !tag && !q && totalItems === 0 && totalEntries === 0) { %>
There are not <%= shared ? 'shared' : '' %> <%= locked ? 'locked' : '' %> <%= library ? 'library' : '' %> <%= type %>
There are no <%= shared ? 'shared' : '' %> <%= locked ? 'locked' : '' %> <%= library ? 'library' : '' %> <%= type %>
<% } %>
</h4>
<p class="DefaultParagraph">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
</div>
<h4 class="IntermediateInfo-title">
<% if (page > 1 || totalItems === 0 && totalEntries > 0) { %>
There are no results in this page
There are no results in this page
<% } %>

<% if (( tag || q ) && totalItems === 0 && totalEntries === 0) { %>
0 <%= tag || q %> <%= type %> found
<% } %>

<% if (page === 1 && !tag && !q && totalItems === 0 && totalEntries === 0) { %>
There are not <%= shared ? 'shared' : '' %> <%= locked ? 'locked' : '' %> <%= library ? 'library' : '' %> <%= type %>
There are no <%= shared ? 'shared' : '' %> <%= locked ? 'locked' : '' %> <%= library ? 'library' : '' %> <%= type %>
<% } %>
</h4>
<p class="DefaultParagraph">
Expand Down

0 comments on commit ee78fab

Please sign in to comment.