mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 06:46:05 -04:00
Get rid of the 'View comments on this item' menu option for photos.
It doesn't fit in with the others and as Jakob points out, the scroll wheel on the mouse is perfectly sufficient. I'll leave the icon around, though.
This commit is contained in:
@@ -25,13 +25,4 @@ class comment_menu_Core {
|
||||
->label(t("Comments"))
|
||||
->url(url::site("admin/comments")));
|
||||
}
|
||||
|
||||
static function photo($menu, $theme) {
|
||||
$menu
|
||||
->append(Menu::factory("link")
|
||||
->id("comments")
|
||||
->label(t("View comments on this item"))
|
||||
->url("#comments")
|
||||
->css_id("gCommentsLink"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user