Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kieren Diment
committed
Dec 29, 2009
1 parent
35d780d
commit 4e8b727
Showing
2 changed files
with
28 additions
and
11 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,21 +1,25 @@ | ||
<h1># Search for "[% search %]" </h1> [% uncoded = [ ] %] | ||
<p> source: [% c.req.uri %] | ||
# Search for "[% search %]" [% uncoded = [ ] %] | ||
|
||
source: [% c.req.uri %] | ||
[% FOREACH i IN interviews %] | ||
[% SET doc_file = i.file.relative(c.config.start_dir) %] | ||
[% SET code_search = i.get_this_tag(search); %] | ||
[% IF code_search.size == 0; uncoded.push(doc_file); NEXT; END; | ||
SET search_url = c.uri_for('/docs', doc_file) _"#$search" %] | ||
<h2>## <a href="[% search_url %]"> [% doc_file %]</a> </h2> | ||
<p> source: [% search_url %] </p> | ||
## [% doc_file %] | ||
|
||
source: [% search_url %] | ||
|
||
[% FOREACH res IN code_search %] | ||
<p> <div class="result">[% FILTER html_line_break; res; END %] </div></p> <br /> | ||
[% res %] | ||
|
||
[% END %] | ||
[% END %] | ||
|
||
|
||
<h2>## Documents in this set without the code [% search %]</h2> | ||
<ul> | ||
## Documents in this set without the code [% search %] | ||
|
||
[% FOREACH empty IN uncoded; SET search_url = c.uri_for('/docs', empty) _"#$search" %] | ||
<li> <a href="[% search_url %]"> [% empty %]</a> ( [% search_url %] ) </li> | ||
* [% empty %] ( [% search_url %] ) | ||
[% END %] | ||
</ul> | ||
|