mirror of
https://github.com/Pathduck/gallery3.git
synced 2024-10-29 21:07:18 -04:00
Add an icon to the context menu option.
This commit is contained in:
parent
39ca803af7
commit
dfb2e3dd02
@ -24,10 +24,10 @@ class organize_event_Core {
|
||||
if ($item && $item->is_album() && access::can("edit", $item)) {
|
||||
$menu->get("options_menu")
|
||||
->append(Menu::factory("dialog")
|
||||
->id("organize")
|
||||
->label(t("Organize Album"))
|
||||
->css_id("gOrganizeLink")
|
||||
->url(url::site("organize/dialog/{$item->id}")));
|
||||
->id("organize")
|
||||
->label(t("Organize Album"))
|
||||
->css_id("gOrganizeLink")
|
||||
->url(url::site("organize/dialog/{$item->id}")));
|
||||
}
|
||||
}
|
||||
|
||||
@ -38,6 +38,7 @@ class organize_event_Core {
|
||||
->id("organize")
|
||||
->label(t("Organize album"))
|
||||
->css_id("gOrganizeLink")
|
||||
->css_class("ui-icon-folder-open")
|
||||
->url(url::site("organize/dialog/{$item->id}")));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user