wip
This commit is contained in:
parent
986da803e2
commit
1e6734567d
|
@ -25,7 +25,7 @@ class KagiSummarizerExtension extends Minz_Extension {
|
|||
public function addSummarizeButton(FreshRSS_Entry $entry): FreshRSS_Entry {
|
||||
$this->registerTranslates();
|
||||
|
||||
$entry->_content('<p class="kagi-summary"><a class="btn" href="#">' . _t('ext.kagiSummarizer.ui.summarize_button') . '</a></p>' . $entry->content());
|
||||
$entry->_content('<p class="kagi-summary"><a class="kagi-summary btn" data-url="' . urlencode($entry->link()) .' href="#">' . _t('ext.kagiSummarizer.ui.summarize_button') . '</a></p>' . $entry->content());
|
||||
return $entry;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue