Skip to content
Snippets Groups Projects
Commit 4c7a6092 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

display plugin name in title, fixes #64

parent 4515d72e
No related branches found
No related tags found
No related merge requests found
...@@ -161,9 +161,11 @@ class PresentingController extends MarketController ...@@ -161,9 +161,11 @@ class PresentingController extends MarketController
} }
public function details_action($plugin_id) { public function details_action($plugin_id) {
Navigation::addItem('/pluginmarket/presenting/details', new AutoNavigation(_('Details'), $this->url_for('presenting/details/'.$plugin_id)));
$this->marketplugin = new MarketPlugin($plugin_id); $this->marketplugin = new MarketPlugin($plugin_id);
Navigation::addItem('/pluginmarket/presenting/details', new AutoNavigation(_('Details'), $this->url_for('presenting/details/'.$plugin_id)));
PageLayout::setTitle($this->marketplugin->name . ' - ' . $this->plugin->getDisplayTitle());
if (Request::isPost() && Request::submitted("delete_plugin") && $this->marketplugin->isRootable()) { if (Request::isPost() && Request::submitted("delete_plugin") && $this->marketplugin->isRootable()) {
$this->marketplugin->delete(); $this->marketplugin->delete();
PageLayout::postMessage(MessageBox::success(_("Plugin wurde gelscht."))); PageLayout::postMessage(MessageBox::success(_("Plugin wurde gelscht.")));
......
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