equal
deleted
inserted
replaced
89 class EmbedAction(Action): |
89 class EmbedAction(Action): |
90 """display an 'embed' link on entity implementing `embeded_url` method |
90 """display an 'embed' link on entity implementing `embeded_url` method |
91 if the returned url match embeding configuration |
91 if the returned url match embeding configuration |
92 """ |
92 """ |
93 id = 'embed' |
93 id = 'embed' |
94 __selectors__ = (one_line_rset, match_search_state('normal'), |
94 __select__ = (one_line_rset() & match_search_state('normal') |
95 implements(IEmbedable), |
95 & implements(IEmbedable) |
96 score_entity(entity_has_embedable_url)) |
96 & score_entity(entity_has_embedable_url)) |
97 |
97 |
98 title = _('embed') |
98 title = _('embed') |
99 controller = 'embed' |
99 controller = 'embed' |
100 |
100 |
101 def url(self, row=0): |
101 def url(self, row=0): |