Skip to content
Snippets Groups Projects
Commit 7957ee1c authored by David Siegfried's avatar David Siegfried
Browse files

open rss-feed-config in dialog, closes #505

Closes #505

Merge request studip/studip!1955
parent ec1f05f1
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,14 @@ class NewsWidget extends CorePlugin implements PortalPlugin ...@@ -50,7 +50,14 @@ class NewsWidget extends CorePlugin implements PortalPlugin
$icons[] = $navigation; $icons[] = $navigation;
if (Config::get()->NEWS_RSS_EXPORT_ENABLE) { if (Config::get()->NEWS_RSS_EXPORT_ENABLE) {
$navigation = new Navigation('', 'dispatch.php/news/rss_config/studip'); $navigation = new Navigation('', 'dispatch.php/news/rss_config/studip');
$navigation->setImage(Icon::create('rss', 'clickable', ["title" => _('RSS-Feed konfigurieren')]), ["rel" => 'size=auto']); $navigation->setImage(
Icon::create(
'rss',
Icon::ROLE_CLICKABLE,
['title' => _('RSS-Feed konfigurieren')]
),
['data-dialog' => 'size=auto']
);
$icons[] = $navigation; $icons[] = $navigation;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment