# HG changeset patch # User Jean-Pierre Vergnes # Date 1443080616 -7200 # Node ID 408867c79d9e47794d3c863c4ecf614aa0cd865b # Parent 3ffacbdf7e9cac2893eb28557395eeeffd4c2863 [doc] Minor changes to the blog tutorial diff -r 3ffacbdf7e9c -r 408867c79d9e doc/tutorials/base/customizing-the-application.rst --- a/doc/tutorials/base/customizing-the-application.rst Mon Oct 19 23:39:30 2015 +0200 +++ b/doc/tutorials/base/customizing-the-application.rst Thu Sep 24 09:43:36 2015 +0200 @@ -422,7 +422,7 @@ entity = self.cw_rset.get_entity(row, col) self.w(u'

Welcome to the "%s" community

' % entity.printable_value('name')) if entity.display_cw_logo(): - self.w(u'') + self.w(u'') if entity.description: self.w(u'

%s

' % entity.printable_value('description')) @@ -522,7 +522,7 @@ def render_entity_attributes(self, entity): if entity.display_cw_logo(): - self.w(u'') + self.w(u'') if entity.description: self.w(u'

%s

' % entity.printable_value('description')) diff -r 3ffacbdf7e9c -r 408867c79d9e doc/tutorials/base/discovering-the-ui.rst --- a/doc/tutorials/base/discovering-the-ui.rst Mon Oct 19 23:39:30 2015 +0200 +++ b/doc/tutorials/base/discovering-the-ui.rst Thu Sep 24 09:43:36 2015 +0200 @@ -101,16 +101,16 @@ You can achieve the same thing by following the same path as we did for the blog creation, e.g. by clicking on the `[+]` at the left of the 'Blog entry' link on -the index page. The diffidence being that since there is no context information, +the index page. The difference being that since there is no context information, the 'blog entry of' selector won't be preset to the blog. If you click on the 'modify' link of the action box, you are back to the form to edit the entity you just created, except that the form now has another section with a combo-box entitled 'add relation'. It -provisos a generic way to edit relations which don't appears in the +provides a generic way to edit relations which don't appears in the above form. Choose the relation you want to add and a second combo box -appears where you can pick existing entities. If there are too many +appears where you can pick existing entities. If there are too many of them, you will be offered to navigate to the target entity, that is go away from the form and go back to it later, once you've selected the entity you want to link with.