397 def state_header(self): |
397 def state_header(self): |
398 state = self._cw.search_state |
398 state = self._cw.search_state |
399 if state[0] == 'normal': |
399 if state[0] == 'normal': |
400 return |
400 return |
401 _ = self._cw._ |
401 _ = self._cw._ |
402 value = self.view('oneline', self._cw.eid_rset(state[1][1])) |
402 value = self._cw.view('oneline', self._cw.eid_rset(state[1][1])) |
403 msg = ' '.join((_("searching for"), |
403 msg = ' '.join((_("searching for"), |
404 display_name(self._cw, state[1][3]), |
404 display_name(self._cw, state[1][3]), |
405 _("to associate with"), value, |
405 _("to associate with"), value, |
406 _("by relation"), '"', |
406 _("by relation"), '"', |
407 display_name(self._cw, state[1][2], state[1][0]), |
407 display_name(self._cw, state[1][2], state[1][0]), |