equal
deleted
inserted
replaced
142 |
142 |
143 def info(self): |
143 def info(self): |
144 """Returns additional info on the current row item in the current list. |
144 """Returns additional info on the current row item in the current list. |
145 """ |
145 """ |
146 |
146 |
|
147 if 'info' not in self._content: |
|
148 return "" |
|
149 |
147 action, args = self.get('info') |
150 action, args = self.get('info') |
148 return action(self._row_data, args) |
151 return action(self._row_data, args) |
149 |
152 |
150 def redirect(self): |
153 def redirect(self): |
151 """Returns the redirect for the current row item in the current list. |
154 """Returns the redirect for the current row item in the current list. |
152 """ |
155 """ |
153 |
156 |
|
157 if 'action' not in self._content: |
|
158 return "" |
|
159 |
154 action, args = self.get('action') |
160 action, args = self.get('action') |
155 return action(self._row_data, args) |
161 return action(self._row_data, args) |