Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only showing at this time
- Loading branch information
Showing
2 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,36 @@ | ||
| extends layout | ||
|
|
||
| block content | ||
| if records.length > 0 | ||
| .alert.alert-info | ||
| | Found #{num_found} entries. | ||
| | Showing #{from} - #{to} (#{num_showing} entries). | ||
| .row | ||
| .span12 | ||
| if records.length > 0 | ||
| .alert.alert-info | ||
| | Found #{num_found} entries. | ||
| | Showing #{from} - #{to} (#{num_showing} entries). | ||
| else | ||
| .alert.alert-info | ||
| | No entry found. | ||
| .row | ||
| .span9 | ||
| if records.length > 0 | ||
| each record, index in records | ||
| .record | ||
| h2 #{record.data.title} | ||
| p.path | ||
| each title, pathIndex in record.data.path | ||
| span.label.label-inverse | ||
| = title | ||
| if pathIndex != record.data.path.length - 1 | ||
| span » | ||
|
|
||
| each record, index in records | ||
| .record | ||
| h2 #{record.data.title} | ||
| p.path | ||
| each title, pathIndex in record.data.path | ||
| span.label.label-inverse | ||
| = title | ||
| if pathIndex != record.data.path.length - 1 | ||
| span » | ||
| !{record.data.desc} | ||
|
|
||
| !{record.data.desc} | ||
| else | ||
| .alert.alert-info | ||
| | No entry found. | ||
| .span3 | ||
| .well(style="padding: 8px 0;") | ||
| ul.nav.nav-list | ||
| each facet, index in path_facets | ||
| li | ||
| a | ||
| = facet.value | ||
| | | ||
| span.badge.badge-info= facet.count |