equal
deleted
inserted
replaced
185 __select__ = (one_line_rset() & primary_view() |
185 __select__ = (one_line_rset() & primary_view() |
186 & match_context_prop() & implements(IPrevNext)) |
186 & match_context_prop() & implements(IPrevNext)) |
187 context = 'navbottom' |
187 context = 'navbottom' |
188 order = 10 |
188 order = 10 |
189 def call(self, view=None): |
189 def call(self, view=None): |
190 entity = self.entity(0) |
190 entity = self.rset.get_entity(0,0) |
191 previous = entity.previous_entity() |
191 previous = entity.previous_entity() |
192 next = entity.next_entity() |
192 next = entity.next_entity() |
193 if previous or next: |
193 if previous or next: |
194 textsize = self.req.property_value('navigation.short-line-size') |
194 textsize = self.req.property_value('navigation.short-line-size') |
195 self.w(u'<div class="prevnext">') |
195 self.w(u'<div class="prevnext">') |