--- a/doc/book/en/development/webstdlib/baseviews.rst Fri Jun 19 09:19:27 2009 +0200
+++ b/doc/book/en/development/webstdlib/baseviews.rst Fri Jun 19 20:38:32 2009 +0200
@@ -13,26 +13,26 @@
HTML views
~~~~~~~~~~
*oneline*
- This is a hyper linked *text* view. Similar to the `secondary` view,
- but called when we want the view to stand on a single line, or just
+ This is a hyper linked *text* view. Similar to the `secondary` view,
+ but called when we want the view to stand on a single line, or just
get a brief view. By default this view uses the
parameter `MAX_LINE_CHAR` to control the result size.
*secondary*
This is a combinaison of an icon and a *oneline* view.
- By default it renders the two first attributes of the entity as a
+ By default it renders the two first attributes of the entity as a
clickable link redirecting to the primary view.
*incontext, outofcontext*
Similar to the `secondary` view, but called when an entity is considered
- as in or out of context. By default it respectively returns the result of
- `textincontext` and `textoutofcontext` wrapped in a link leading to
+ as in or out of context. By default it respectively returns the result of
+ `textincontext` and `textoutofcontext` wrapped in a link leading to
the primary view of the entity.
List
`````
*list*
- This view displays a list of entities by creating a HTML list (`<ul>`)
+ This view displays a list of entities by creating a HTML list (`<ul>`)
and call the view `listitem` for each entity of the result set.
*listitem*
@@ -57,10 +57,10 @@
Text views
~~~~~~~~~~
*text*
- This is the simplest text view for an entity. It displays the
+ This is the simplest text view for an entity. It displays the
title of an entity. It should not contain HTML.
*textincontext, textoutofcontext*
Similar to the `text` view, but called when an entity is considered out or
- in context. By default it returns respectively the result of the
+ in context. By default it returns respectively the result of the
methods `.dc_title` and `.dc_long_title` of the entity.