[MKDoc-commit] Added a line at the top with a link to the results
in order to skip the
chris at mkdoc.demon.co.uk
chris at mkdoc.demon.co.uk
Tue Nov 2 16:21:21 GMT 2004
Log Message:
-----------
Added a line at the top with a link to the results in order to skip
the big search form.
Modified Files:
--------------
mkd/resources/templates/admin/finder:
en.html
-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/resources/templates/admin/finder/en.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lresources/templates/admin/finder/en.html -Lresources/templates/admin/finder/en.html -u -r1.5 -r1.6
--- resources/templates/admin/finder/en.html
+++ resources/templates/admin/finder/en.html
@@ -172,6 +172,36 @@
>Find Documents</a>
</h1>
+ <p
+ lang="en"
+ xml:lang="en"
+ dir="ltr"
+ i18n:attributes="lang two-letter-language-code;
+ xml:lang two-letter-language-code;
+ dir text-direction;"
+ i18n:translate="your-search-was-successful"
+ petal:condition="true: self/results"
+ >
+ Your search was successful and returned the following
+ <a
+ href="#results"
+ i18n:translate="results"
+ >results</a>.
+ </p>
+
+ <p
+ lang="en"
+ xml:lang="en"
+ dir="ltr"
+ i18n:attributes="lang two-letter-language-code;
+ xml:lang two-letter-language-code;
+ dir text-direction;"
+ i18n:translate="your-search-was-unsuccessful"
+ petal:condition="false: self/results"
+ >
+ Your search was unsuccessful and returned no results, please try again.
+ </p>
+
<form
action="#"
method="get"
@@ -654,11 +684,14 @@
cellspacing="6"
summary="This table contains the results of your search."
i18n:attributes="summary this-table-contains-search-results"
+ petal:condition="true: self/results"
>
- <caption
- i18n:translate="documents-found"
- >
- Documents Found
+ <caption>
+ <a
+ name="results"
+ id="results"
+ i18n:translate="documents-found"
+ >Documents Found</a>
</caption>
<tr>
<th
More information about the MKDoc-commit
mailing list